Index: components/test_runner/test_plugin.cc |
diff --git a/components/test_runner/test_plugin.cc b/components/test_runner/test_plugin.cc |
index e544d5fb9369beab7d2ddcfe5a16036660591ddd..19aabb4a535edd0a0e4c01ee562c5831b14d527f 100644 |
--- a/components/test_runner/test_plugin.cc |
+++ b/components/test_runner/test_plugin.cc |
@@ -13,7 +13,6 @@ |
#include "base/memory/shared_memory.h" |
#include "base/strings/stringprintf.h" |
#include "cc/blink/web_layer_impl.h" |
-#include "cc/layers/layer_settings.h" |
#include "cc/layers/texture_layer.h" |
#include "cc/resources/shared_bitmap_manager.h" |
#include "components/test_runner/web_test_delegate.h" |
@@ -208,8 +207,7 @@ bool TestPlugin::initialize(blink::WebPluginContainer* container) { |
if (!InitScene()) |
return false; |
- layer_ = cc::TextureLayer::CreateForMailbox( |
- cc::LayerSettings(), this); |
+ layer_ = cc::TextureLayer::CreateForMailbox(this); |
web_layer_ = make_scoped_ptr(new cc_blink::WebLayerImpl(layer_)); |
container_ = container; |
container_->setWebLayer(web_layer_.get()); |