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. |