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

Unified Diff: third_party/WebKit/Source/core/style/FillLayer.h

Issue 1787733003: Consolidate background fill layer opaqueness into one method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix windows build Created 4 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: third_party/WebKit/Source/core/style/FillLayer.h
diff --git a/third_party/WebKit/Source/core/style/FillLayer.h b/third_party/WebKit/Source/core/style/FillLayer.h
index 90e57fc190bed9cd70efb55baadde8ff9853beee..9948137db215a5636d76011c77b38841770a8e63 100644
--- a/third_party/WebKit/Source/core/style/FillLayer.h
+++ b/third_party/WebKit/Source/core/style/FillLayer.h
@@ -175,7 +175,7 @@ public:
return m_next ? m_next->hasFixedImage() : false;
}
- bool hasOpaqueImage(const LayoutObject*) const;
+ bool imageOccludesNextLayers(const LayoutObject&) const;
bool hasRepeatXY() const;
bool clipOccludesNextLayers() const;
@@ -211,6 +211,9 @@ private:
FillLayer() { }
+ bool imageIsOpaque(const LayoutObject&) const;
+ bool imageTilesLayer() const;
+
FillLayer* m_next;
RefPtrWillBePersistent<StyleImage> m_image;
« no previous file with comments | « third_party/WebKit/Source/core/paint/BoxPainter.cpp ('k') | third_party/WebKit/Source/core/style/FillLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698