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

Unified Diff: ui/compositor/layer.cc

Issue 12374028: Allow WebExternalTextureLayerClient to work with mailboxes. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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: ui/compositor/layer.cc
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
index b73c82832ece9195b8038d5bf5e53cb76a69a5c8..5561b0cb3a138e7184ef29eb3d538e7bb8dc7e09 100644
--- a/ui/compositor/layer.cc
+++ b/ui/compositor/layer.cc
@@ -471,7 +471,7 @@ void Layer::SetExternalTexture(Texture* texture) {
// Switch to a different type of layer.
if (has_texture) {
scoped_refptr<cc::TextureLayer> new_layer =
- cc::TextureLayer::Create(this);
+ cc::TextureLayer::Create(this, false);
new_layer->SetFlipped(texture_->flipped());
SwitchToLayer(new_layer);
texture_layer_ = new_layer;

Powered by Google App Engine
This is Rietveld 408576698