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

Unified Diff: Source/core/style/StyleRareNonInheritedData.cpp

Issue 1251523003: Delete AuthorStyleInfo and move its data into ComputedStyle.RareNonInheritedData. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update comment Created 5 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 | « Source/core/style/StyleRareNonInheritedData.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/StyleRareNonInheritedData.cpp
diff --git a/Source/core/style/StyleRareNonInheritedData.cpp b/Source/core/style/StyleRareNonInheritedData.cpp
index 460563c08ac9ea35480462c6c48aa04ccb3a08e5..c7df50ea21cb1e7c905f5b37daf5147ee1e8ce3c 100644
--- a/Source/core/style/StyleRareNonInheritedData.cpp
+++ b/Source/core/style/StyleRareNonInheritedData.cpp
@@ -122,6 +122,8 @@ StyleRareNonInheritedData::StyleRareNonInheritedData()
, m_hasInlineTransform(false)
, m_resize(ComputedStyle::initialResize())
, m_hasCompositorProxy(false)
+ , m_hasAuthorBackground(false)
+ , m_hasAuthorBorder(false)
{
m_maskBoxImage.setMaskDefaults();
}
@@ -198,6 +200,8 @@ StyleRareNonInheritedData::StyleRareNonInheritedData(const StyleRareNonInherited
, m_hasInlineTransform(o.m_hasInlineTransform)
, m_resize(o.m_resize)
, m_hasCompositorProxy(o.m_hasCompositorProxy)
+ , m_hasAuthorBackground(o.m_hasAuthorBackground)
+ , m_hasAuthorBorder(o.m_hasAuthorBorder)
{
}
@@ -277,7 +281,9 @@ bool StyleRareNonInheritedData::operator==(const StyleRareNonInheritedData& o) c
&& m_requiresAcceleratedCompositingForExternalReasons == o.m_requiresAcceleratedCompositingForExternalReasons
&& m_hasInlineTransform == o.m_hasInlineTransform
&& m_resize == o.m_resize
- && m_hasCompositorProxy == o.m_hasCompositorProxy;
+ && m_hasCompositorProxy == o.m_hasCompositorProxy
+ && m_hasAuthorBackground == o.m_hasAuthorBackground
+ && m_hasAuthorBorder == o.m_hasAuthorBorder;
}
bool StyleRareNonInheritedData::contentDataEquivalent(const StyleRareNonInheritedData& o) const
« no previous file with comments | « Source/core/style/StyleRareNonInheritedData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698