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

Unified Diff: webkit/compositor_bindings/WebLayerImpl.cpp

Issue 11035020: Renamed LayerChromium::opaque to LayerChromium::contentsOpaque. Having both opaque and opacity on t… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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/WebLayerImpl.cpp
diff --git a/webkit/compositor_bindings/WebLayerImpl.cpp b/webkit/compositor_bindings/WebLayerImpl.cpp
index 6bd4f217ffe5baae1220d1248e8e226f1307e050..fc0c640719ba9063e614e17121905e014ae4e5c5 100644
--- a/webkit/compositor_bindings/WebLayerImpl.cpp
+++ b/webkit/compositor_bindings/WebLayerImpl.cpp
@@ -184,12 +184,12 @@ float WebLayerImpl::opacity() const
void WebLayerImpl::setOpaque(bool opaque)
{
- m_layer->setOpaque(opaque);
+ m_layer->setContentsOpaque(opaque);
}
bool WebLayerImpl::opaque() const
{
- return m_layer->opaque();
+ return m_layer->contentsOpaque();
}
void WebLayerImpl::setPosition(const WebFloatPoint& position)
« cc/CCLayerTreeHostImplTest.cpp ('K') | « webkit/compositor_bindings/WebExternalTextureLayerImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698