Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / content / renderer / gpu / delegated_compositor_output_surface.cc
index 263d5f4..d9ed496 100644 (file)
@@ -3,17 +3,20 @@
 // found in the LICENSE file.
 
 #include "content/renderer/gpu/delegated_compositor_output_surface.h"
+#include "content/renderer/gpu/frame_swap_message_queue.h"
 
 namespace content {
 
 DelegatedCompositorOutputSurface::DelegatedCompositorOutputSurface(
     int32 routing_id,
     uint32 output_surface_id,
-    const scoped_refptr<ContextProviderCommandBuffer>& context_provider)
+    const scoped_refptr<ContextProviderCommandBuffer>& context_provider,
+    scoped_refptr<FrameSwapMessageQueue> swap_frame_message_queue)
     : CompositorOutputSurface(routing_id,
                               output_surface_id,
                               context_provider,
                               scoped_ptr<cc::SoftwareOutputDevice>(),
+                              swap_frame_message_queue,
                               true) {
   capabilities_.delegated_rendering = true;
   capabilities_.max_frames_pending = 1;