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

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

Issue 1809643008: Adding or changing any of box-shadow, outline, or border-image-outset does not need a layout.. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 4 years, 8 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 360642f7a45780e0f369111b07e80fcb8d5ee213..e5adf279e1329b1937ca0125b8a254bec9035230 100644
--- a/third_party/WebKit/Source/core/style/StyleDifference.h
+++ b/third_party/WebKit/Source/core/style/StyleDifference.h
@@ -27,6 +27,7 @@ public:
StyleDifference()
: m_paintInvalidationType(NoPaintInvalidation)
, m_layoutType(NoLayout)
+ , m_recomputeOverflow(false)
, m_propertySpecificDifferences(0)
{ }
@@ -66,6 +67,9 @@ public:
bool needsFullLayout() const { return m_layoutType == FullLayout; }
void setNeedsFullLayout() { m_layoutType = FullLayout; }
+ bool needsRecomputeOverflow() const { return m_recomputeOverflow; }
+ void setNeedsRecomputeOverflow() { m_recomputeOverflow = true; }
+
bool transformChanged() const { return m_propertySpecificDifferences & TransformChanged; }
void setTransformChanged() { m_propertySpecificDifferences |= TransformChanged; }
@@ -98,7 +102,7 @@ private:
FullLayout
};
unsigned m_layoutType : 2;
-
+ unsigned m_recomputeOverflow : 1;
unsigned m_propertySpecificDifferences : 6;
};
« 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