Index: content/browser/android/in_process/synchronous_compositor_factory_impl.cc |
diff --git a/content/browser/android/in_process/synchronous_compositor_factory_impl.cc b/content/browser/android/in_process/synchronous_compositor_factory_impl.cc |
index 2bde4a45856ae2f3c9c3e3ce5294374a0561145d..4f392bfb9f0692cca3ebf03c1c065342ce155e5a 100644 |
--- a/content/browser/android/in_process/synchronous_compositor_factory_impl.cc |
+++ b/content/browser/android/in_process/synchronous_compositor_factory_impl.cc |
@@ -5,6 +5,8 @@ |
#include "content/browser/android/in_process/synchronous_compositor_factory_impl.h" |
#include "base/observer_list.h" |
+#include "content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.h" |
+#include "content/browser/android/in_process/synchronous_compositor_impl.h" |
#include "content/browser/android/in_process/synchronous_compositor_output_surface.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/renderer/gpu/frame_swap_message_queue.h" |
@@ -193,6 +195,13 @@ SynchronousCompositorFactoryImpl::GetInputHandlerManagerClient() { |
return synchronous_input_event_filter(); |
} |
+scoped_ptr<cc::BeginFrameSource> |
+SynchronousCompositorFactoryImpl::CreateExternalBeginFrameSource( |
+ int routing_id) { |
+ return make_scoped_ptr( |
+ new SynchronousCompositorExternalBeginFrameSource(routing_id)); |
+} |
+ |
scoped_refptr<ContextProviderWebContext> |
SynchronousCompositorFactoryImpl::CreateOffscreenContextProvider( |
const blink::WebGraphicsContext3D::Attributes& attributes, |