Index: content/browser/android/in_process/synchronous_compositor_impl.cc |
diff --git a/content/browser/android/in_process/synchronous_compositor_impl.cc b/content/browser/android/in_process/synchronous_compositor_impl.cc |
index 89d919eb28228a332f6f10d5cdfbb570fd182cac..d72f8bb8965851968c3af4bdb4292dd6d988c9c8 100644 |
--- a/content/browser/android/in_process/synchronous_compositor_impl.cc |
+++ b/content/browser/android/in_process/synchronous_compositor_impl.cc |
@@ -95,10 +95,9 @@ bool SynchronousCompositorImpl::InitializeHwDraw( |
// Create contexts in this order so that the share group gets passed |
// along correctly. |
no sievers
2014/05/08 18:57:14
If you are removing this, then the comment does no
|
- scoped_refptr<cc::ContextProvider> offscreen_context = |
- g_factory.Get().GetOffscreenContextProviderForCompositorThread(); |
scoped_refptr<cc::ContextProvider> onscreen_context = |
- g_factory.Get().CreateOnscreenContextProviderForCompositorThread(surface); |
+ g_factory.Get().CreateOnscreenContextProviderForCompositorThread( |
+ surface.get()); |
bool success = output_surface_->InitializeHwDraw(onscreen_context); |