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

Unified Diff: webkit/compositor_bindings/web_external_texture_layer_impl.cc

Issue 12774006: cc: Chromify Layer and LayerImpl classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MoreAndroidCompilings 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: webkit/compositor_bindings/web_external_texture_layer_impl.cc
diff --git a/webkit/compositor_bindings/web_external_texture_layer_impl.cc b/webkit/compositor_bindings/web_external_texture_layer_impl.cc
index f7c375e5a4c9d53329b50de1410364a3d7dc904c..244ee5c339b84c455ee7093e45925ce7743697f4 100644
--- a/webkit/compositor_bindings/web_external_texture_layer_impl.cc
+++ b/webkit/compositor_bindings/web_external_texture_layer_impl.cc
@@ -20,10 +20,10 @@ WebExternalTextureLayerImpl::WebExternalTextureLayerImpl(
: client_(client) {
scoped_refptr<TextureLayer> layer;
if (client_)
- layer = TextureLayer::create(this);
+ layer = TextureLayer::Create(this);
else
- layer = TextureLayer::create(0);
- layer->setIsDrawable(true);
+ layer = TextureLayer::Create(NULL);
+ layer->SetIsDrawable(true);
layer_.reset(new WebLayerImpl(layer));
}
@@ -48,7 +48,7 @@ void WebExternalTextureLayerImpl::setUVRect(const WebFloatRect& rect) {
}
void WebExternalTextureLayerImpl::setOpaque(bool opaque) {
- static_cast<TextureLayer*>(layer_->layer())->setContentsOpaque(opaque);
+ static_cast<TextureLayer*>(layer_->layer())->SetContentsOpaque(opaque);
}
void WebExternalTextureLayerImpl::setPremultipliedAlpha(
« no previous file with comments | « webkit/compositor_bindings/web_content_layer_impl.cc ('k') | webkit/compositor_bindings/web_image_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698