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 228a05e6c9b57e773c3dccde3c8b44634d89fe2f..9db2029c53342574f381f1513b2d8459d833abd7 100644 |
--- a/content/browser/renderer_host/compositor_impl_android.cc |
+++ b/content/browser/renderer_host/compositor_impl_android.cc |
@@ -106,7 +106,9 @@ void Compositor::Initialize() { |
switches::kSingleProcess)); |
return; |
} |
+#if 0 |
WebKit::Platform::current()->compositorSupport()->initialize(NULL); |
+#endif |
} |
// static |
@@ -161,7 +163,8 @@ void CompositorImpl::SetWindowSurface(ANativeWindow* window) { |
WebKit::WebCompositorSupport* compositor_support = |
WebKit::Platform::current()->compositorSupport(); |
host_.reset( |
- compositor_support->createLayerTreeView(this, *root_layer_, settings)); |
+ compositor_support->createLayerTreeView(this, *root_layer_, settings, |
+ NULL)); |
host_->setVisible(true); |
host_->setSurfaceReady(); |
host_->setViewportSize(size_); |