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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h

Issue 1878253003: Allow explicit conversion operators and implement WTF::OwnPtr::operator bool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 8 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: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
index 7561252d91f8639381a8c5fb54b839a025326dd7..60ab32b2621572b2d6e2b05bb9ece996ccce9eb5 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
@@ -92,11 +92,11 @@ public:
GraphicsLayer* mainGraphicsLayer() const { return m_graphicsLayer.get(); }
// Layer to clip children
- bool hasClippingLayer() const { return m_childContainmentLayer; }
+ bool hasClippingLayer() const { return m_childContainmentLayer.get(); }
GraphicsLayer* clippingLayer() const { return m_childContainmentLayer.get(); }
// Layer to get clipped by ancestor
- bool hasAncestorClippingLayer() const { return m_ancestorClippingLayer; }
+ bool hasAncestorClippingLayer() const { return m_ancestorClippingLayer.get(); }
GraphicsLayer* ancestorClippingLayer() const { return m_ancestorClippingLayer.get(); }
GraphicsLayer* foregroundLayer() const { return m_foregroundLayer.get(); }
@@ -104,21 +104,21 @@ public:
GraphicsLayer* backgroundLayer() const { return m_backgroundLayer.get(); }
bool backgroundLayerPaintsFixedRootBackground() const { return m_backgroundLayerPaintsFixedRootBackground; }
- bool hasScrollingLayer() const { return m_scrollingLayer; }
+ bool hasScrollingLayer() const { return m_scrollingLayer.get(); }
GraphicsLayer* scrollingLayer() const { return m_scrollingLayer.get(); }
GraphicsLayer* scrollingContentsLayer() const { return m_scrollingContentsLayer.get(); }
- bool hasMaskLayer() const { return m_maskLayer; }
+ bool hasMaskLayer() const { return m_maskLayer.get(); }
GraphicsLayer* maskLayer() const { return m_maskLayer.get(); }
- bool hasChildClippingMaskLayer() const { return m_childClippingMaskLayer; }
+ bool hasChildClippingMaskLayer() const { return m_childClippingMaskLayer.get(); }
GraphicsLayer* childClippingMaskLayer() const { return m_childClippingMaskLayer.get(); }
GraphicsLayer* parentForSublayers() const;
GraphicsLayer* childForSuperlayers() const;
void setSublayers(const GraphicsLayerVector&);
- bool hasChildTransformLayer() const { return m_childTransformLayer; }
+ bool hasChildTransformLayer() const { return m_childTransformLayer.get(); }
GraphicsLayer* childTransformLayer() const { return m_childTransformLayer.get(); }
GraphicsLayer* squashingContainmentLayer() const { return m_squashingContainmentLayer.get(); }
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.h ('k') | third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698