Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3167)

Unified Diff: content/shell/renderer/test_runner/test_plugin.cc

Issue 1101823002: CC Animations: Make LayerAnimationController creation optional (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Plumb LayerSettings parameter for cc::Layer construction. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/shell/renderer/test_runner/test_plugin.cc
diff --git a/content/shell/renderer/test_runner/test_plugin.cc b/content/shell/renderer/test_runner/test_plugin.cc
index e47d7142f0995de60fc401a0589a363aa16b6264..d7b1bdf089b3acab7de6a599288289ac83b30d2e 100644
--- a/content/shell/renderer/test_runner/test_plugin.cc
+++ b/content/shell/renderer/test_runner/test_plugin.cc
@@ -222,7 +222,8 @@ bool TestPlugin::initialize(blink::WebPluginContainer* container) {
if (!InitScene())
return false;
- layer_ = cc::TextureLayer::CreateForMailbox(this);
+ layer_ =
+ cc::TextureLayer::CreateForMailbox(WebLayerImpl::LayerSettings(), this);
web_layer_ = make_scoped_ptr(InstantiateWebLayer(layer_));
container_ = container;
container_->setWebLayer(web_layer_.get());

Powered by Google App Engine
This is Rietveld 408576698