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

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

Issue 2370673002: Changed EDisplay to an enum class and renamed its members to be keywords (Closed)
Patch Set: Comment Created 4 years, 3 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.cpp
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
index 41cce8b39562275ee51fa60ed2735da35cb0a21a..9b83099139f12bdb4b445249c5b6a0f6cb08abf8 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -734,7 +734,7 @@ bool ComputedStyle::diffNeedsFullLayoutAndPaintInvalidation(const ComputedStyle&
|| (borderRightStyle() == BorderStyleHidden && other.borderRightStyle() == BorderStyleNone)
|| (borderRightStyle() == BorderStyleNone && other.borderRightStyle() == BorderStyleHidden)))
return true;
- } else if (m_nonInheritedData.m_effectiveDisplay == LIST_ITEM) {
+ } else if (display() == EDisplay::ListItem) {
if (m_inheritedData.m_listStyleType != other.m_inheritedData.m_listStyleType
|| m_inheritedData.m_listStylePosition != other.m_inheritedData.m_listStylePosition)
return true;
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | third_party/WebKit/Source/core/style/ComputedStyleConstants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698