Index: content/browser/renderer_host/compositor_impl_android.cc |
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc |
index 96c864e2416d088e4f84ec39f0c5315c16ba0ffd..e2b6d80db115d5a088063d5b39cfb7d8ee908ce8 100644 |
--- a/content/browser/renderer_host/compositor_impl_android.cc |
+++ b/content/browser/renderer_host/compositor_impl_android.cc |
@@ -232,6 +232,7 @@ scoped_ptr<cc::SurfaceIdAllocator> CompositorImpl::CreateSurfaceIdAllocator() { |
CompositorImpl::CompositorImpl(CompositorClient* client, |
gfx::NativeWindow root_window) |
: root_layer_(cc::Layer::Create(Compositor::LayerSettings())), |
+ resource_manager_(root_window->GetJavaDisplayContext().obj()), |
boliu
2015/10/21 16:55:38
So continuing the previous conversation, can resou
gsennton
2015/10/21 17:09:08
I don't see how that would help (but I might be mi
boliu
2015/10/21 17:13:34
Conceptually, window_android.cc and resource_manag
gsennton
2015/10/22 10:33:36
../../ui/android/java/src/org/chromium/ui/resource
boliu
2015/10/22 14:12:59
Jared, any thoughts here? A bit weird these Window
|
surface_id_allocator_(GetSurfaceManager() ? CreateSurfaceIdAllocator() |
: nullptr), |
has_transparent_background_(false), |