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

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

Issue 2897193005: Generate diffs for all fields on StyleRareInheritedData (Closed)
Patch Set: meade@ suggestions Created 3 years, 7 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/core/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index 157b51d451d5e8403e659654b96f14e805fc3b2b..c1e6e5d0440251faf6813ab378724145721333c1 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -167,6 +167,9 @@ typedef Vector<RefPtr<ComputedStyle>, 4> PseudoStyleCache;
// such as ComputedStyleBase.cpp) and ComputedStyle will be removed.
class CORE_EXPORT ComputedStyle : public ComputedStyleBase<ComputedStyle>,
public RefCounted<ComputedStyle> {
+ // Needed to allow access to private/protected getters of fields to allow diff
+ // generation
+ friend class ComputedStyleBase<ComputedStyle>;
// Used by Web Animations CSS. Sets the color styles.
friend class AnimatedStyleBuilder;
// Used by Web Animations CSS. Gets visited and unvisited colors separately.

Powered by Google App Engine
This is Rietveld 408576698