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

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

Issue 2571283002: Remove StyleDifference::needsPaintPropertyUpdate() (Closed)
Patch Set: Fix layout test failures Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/StyleDifference.h
diff --git a/third_party/WebKit/Source/core/style/StyleDifference.h b/third_party/WebKit/Source/core/style/StyleDifference.h
index ed12f68fde62672ecfb55abb028999f3c5132c86..3003e61de8437994ee39652c49b2b7d2cf1a50f1 100644
--- a/third_party/WebKit/Source/core/style/StyleDifference.h
+++ b/third_party/WebKit/Source/core/style/StyleDifference.h
@@ -33,17 +33,15 @@ class StyleDifference {
m_layoutType(NoLayout),
m_recomputeOverflow(false),
m_propertySpecificDifferences(0),
- m_scrollAnchorDisablingPropertyChanged(false),
- m_needsPaintPropertyUpdate(false) {}
+ m_scrollAnchorDisablingPropertyChanged(false) {}
bool hasDifference() const {
bool result = m_paintInvalidationType || m_layoutType ||
m_propertySpecificDifferences;
// m_recomputeOverflow, m_scrollAnchorDisablingPropertyChanged and
- // m_needsPaintPropertyUpdate are never set without other flags set.
+ // are never set without other flags set.
DCHECK(result ||
- (!m_recomputeOverflow && !m_scrollAnchorDisablingPropertyChanged &&
- !m_needsPaintPropertyUpdate));
+ (!m_recomputeOverflow && !m_scrollAnchorDisablingPropertyChanged));
return result;
}
@@ -140,9 +138,6 @@ class StyleDifference {
m_scrollAnchorDisablingPropertyChanged = true;
}
- bool needsPaintPropertyUpdate() const { return m_needsPaintPropertyUpdate; }
- void setNeedsPaintPropertyUpdate() { m_needsPaintPropertyUpdate = true; }
-
private:
enum PaintInvalidationType {
NoPaintInvalidation = 0,
@@ -156,7 +151,6 @@ class StyleDifference {
unsigned m_recomputeOverflow : 1;
unsigned m_propertySpecificDifferences : 7;
unsigned m_scrollAnchorDisablingPropertyChanged : 1;
- unsigned m_needsPaintPropertyUpdate : 1;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698