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

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

Issue 2669433002: Moved table-layout property to be generated in ComputedStyleBase. (Closed)
Patch Set: Rebase Created 3 years, 11 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 7ae1f818d45972196244735e9f7fa578b55635a3..dbd9cbcc666b1287e7ae525fa3625d42fb073f7c 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -373,7 +373,6 @@ void ComputedStyle::copyNonInheritedFromCached(const ComputedStyle& other) {
m_nonInheritedData.m_overflowY = other.m_nonInheritedData.m_overflowY;
m_nonInheritedData.m_verticalAlign = other.m_nonInheritedData.m_verticalAlign;
m_nonInheritedData.m_position = other.m_nonInheritedData.m_position;
- m_nonInheritedData.m_tableLayout = other.m_nonInheritedData.m_tableLayout;
m_nonInheritedData.m_hasViewportUnits =
other.m_nonInheritedData.m_hasViewportUnits;
m_nonInheritedData.m_breakBefore = other.m_nonInheritedData.m_breakBefore;
@@ -826,8 +825,7 @@ bool ComputedStyle::diffNeedsFullLayoutAndPaintInvalidation(
if (borderCollapse() != other.borderCollapse() ||
emptyCells() != other.emptyCells() ||
captionSide() != other.captionSide() ||
- m_nonInheritedData.m_tableLayout !=
- other.m_nonInheritedData.m_tableLayout)
+ tableLayout() != other.tableLayout())
return true;
// In the collapsing border model, 'hidden' suppresses other borders, while

Powered by Google App Engine
This is Rietveld 408576698