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

Unified Diff: sky/engine/core/rendering/style/StyleDifference.h

Issue 856563006: Remove background obscuration checks. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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: sky/engine/core/rendering/style/StyleDifference.h
diff --git a/sky/engine/core/rendering/style/StyleDifference.h b/sky/engine/core/rendering/style/StyleDifference.h
index eb9be49ba24f8e70876ac2e3595187a11a542c8b..9833fde248cb843dfdef225cc02b83abc4a13e41 100644
--- a/sky/engine/core/rendering/style/StyleDifference.h
+++ b/sky/engine/core/rendering/style/StyleDifference.h
@@ -19,17 +19,10 @@ public:
};
StyleDifference()
- : m_needsPaintInvalidation(false)
- , m_layoutType(NoLayout)
+ : m_layoutType(NoLayout)
, m_propertySpecificDifferences(0)
{ }
- bool needsPaintInvalidation() const { return m_needsPaintInvalidation; }
- void setNeedsPaintInvalidation()
- {
- m_needsPaintInvalidation = true;
- }
-
bool needsLayout() const { return m_layoutType != NoLayout; }
void clearNeedsLayout() { m_layoutType = NoLayout; }
@@ -57,8 +50,6 @@ public:
void setFilterChanged() { m_propertySpecificDifferences |= FilterChanged; }
private:
- unsigned m_needsPaintInvalidation : 1;
-
enum LayoutType {
NoLayout = 0,
PositionedMovement,
« no previous file with comments | « sky/engine/core/rendering/style/RenderStyle.cpp ('k') | sky/engine/platform/graphics/filters/FilterOperation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698