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

Unified Diff: third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl

Issue 2858863002: Add macro to diff the groups (and their members) in ComputedStyleBase (Closed)
Patch Set: use results from diff functions generated in ComputedStyleBase.cpp in ComputedStyle.cpp Created 3 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
Index: third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl
index 4d6e668571d57527382a82b3ec31ddd109fef4bb..132d20d7aaf153828e66ff770357787749094eda 100644
--- a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl
@@ -9,6 +9,7 @@
#include "core/style/ComputedStyleConstants.h"
#include "core/CoreExport.h"
#include "core/style/DataRef.h"
+#include "core/style/StyleDifference.h"
{% for path in include_paths %}
#include "{{path}}"
{% endfor %}
@@ -84,6 +85,10 @@ class CORE_EXPORT ComputedStyleBase {
IsAtShadowBoundary isAtShadowBoundary = kNotAtShadowBoundary);
void CopyNonInheritedFromCached(const ComputedStyleBase& other);
+ bool DiffNeedsFullLayoutAndPaintInvalidation(
+ const ComputedStyleBase& other) const;
+ bool ScrollAnchorDisablingPropertyChanged(const ComputedStyleBase& other,
+ const StyleDifference&) const;
// Copies the values of any independent inherited properties from the parent
// style that are marked as inherited by this style.

Powered by Google App Engine
This is Rietveld 408576698