Index: content/shell/renderer/test_runner/TestPlugin.cpp |
diff --git a/content/shell/renderer/test_runner/TestPlugin.cpp b/content/shell/renderer/test_runner/TestPlugin.cpp |
index db9edc573f4098b29be5dd735e1b4af1d7c7cfd5..22f56f5ad3d5035833e6e524b9f5acfd01ebb792 100644 |
--- a/content/shell/renderer/test_runner/TestPlugin.cpp |
+++ b/content/shell/renderer/test_runner/TestPlugin.cpp |
@@ -208,7 +208,7 @@ bool TestPlugin::initialize(WebPluginContainer* container) |
return false; |
m_layer = cc::TextureLayer::CreateForMailbox(this); |
- m_webLayer = make_scoped_ptr(new webkit::WebLayerImpl(m_layer)); |
+ m_webLayer = make_scoped_ptr(InstantiateWebLayer(m_layer)); |
m_container = container; |
m_container->setWebLayer(m_webLayer.get()); |
if (m_reRequestTouchEvents) { |