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

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: 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..aa15f496e69357a476126dc49aaf3dc83a81b276 100644
--- a/third_party/WebKit/Source/core/style/FillLayer.h
+++ b/third_party/WebKit/Source/core/style/FillLayer.h
@@ -175,8 +175,7 @@ public:
return m_next ? m_next->hasFixedImage() : false;
}
- bool hasOpaqueImage(const LayoutObject*) const;
- bool hasRepeatXY() const;
+ bool backgroundImageIsOpaque(const LayoutObject&, const float) const;
bool clipOccludesNextLayers() const;
EFillLayerType type() const { return static_cast<EFillLayerType>(m_type); }

Powered by Google App Engine
This is Rietveld 408576698