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

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

Issue 2250523003: Implement SANACLAP (http://bit.ly/sanaclap). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: improve comment Created 4 years, 4 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
« 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 6b4603096f60de5e25fea2efe592322e22b9552f..9c1adef086b6e952ae01e6bfaff79209636f2745 100644
--- a/third_party/WebKit/Source/core/style/StyleDifference.h
+++ b/third_party/WebKit/Source/core/style/StyleDifference.h
@@ -29,6 +29,7 @@ public:
, m_layoutType(NoLayout)
, m_recomputeOverflow(false)
, m_propertySpecificDifferences(0)
+ , m_scrollAnchorDisablingPropertyChanged(false)
{ }
bool hasDifference() const { return m_paintInvalidationType || m_layoutType || m_propertySpecificDifferences; }
@@ -88,6 +89,9 @@ public:
bool textDecorationOrColorChanged() const { return m_propertySpecificDifferences & TextDecorationOrColorChanged; }
void setTextDecorationOrColorChanged() { m_propertySpecificDifferences |= TextDecorationOrColorChanged; }
+ bool scrollAnchorDisablingPropertyChanged() const { return m_scrollAnchorDisablingPropertyChanged; }
+ void setScrollAnchorDisablingPropertyChanged() { m_scrollAnchorDisablingPropertyChanged = true; }
+
private:
enum PaintInvalidationType {
NoPaintInvalidation = 0,
@@ -104,6 +108,7 @@ private:
unsigned m_layoutType : 2;
unsigned m_recomputeOverflow : 1;
unsigned m_propertySpecificDifferences : 6;
+ unsigned m_scrollAnchorDisablingPropertyChanged : 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