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

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

Issue 1122393003: CC: Plumb LayerSettings parameter for cc::Layer construction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 7a15983eff3338cf2286376b33295e63c4ffe019..3ce1d17f67902bb6f23a86b7540d1eba072208c0 100644
--- a/content/shell/renderer/test_runner/test_plugin.cc
+++ b/content/shell/renderer/test_runner/test_plugin.cc
@@ -221,7 +221,7 @@ bool TestPlugin::initialize(blink::WebPluginContainer* container) {
if (!InitScene())
return false;
- layer_ = cc::TextureLayer::CreateForMailbox(this);
+ layer_ = delegate_->CreateTextureLayerForMailbox(this);
web_layer_ = make_scoped_ptr(delegate_->InstantiateWebLayer(layer_));
container_ = container;
container_->setWebLayer(web_layer_.get());

Powered by Google App Engine
This is Rietveld 408576698