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

Unified Diff: Source/core/layout/LayoutTableCol.cpp

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 9 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/layout/LayoutTableCol.h ('k') | Source/core/layout/LayoutTableRow.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTableCol.cpp
diff --git a/Source/core/layout/LayoutTableCol.cpp b/Source/core/layout/LayoutTableCol.cpp
index 379747977b28f19021cc9482560d4615951d94e3..36d0fb2fd68985feb55f2646dd7921c409c305e1 100644
--- a/Source/core/layout/LayoutTableCol.cpp
+++ b/Source/core/layout/LayoutTableCol.cpp
@@ -44,7 +44,7 @@ LayoutTableCol::LayoutTableCol(Element* element)
updateFromElement();
}
-void LayoutTableCol::styleDidChange(StyleDifference diff, const LayoutStyle* oldStyle)
+void LayoutTableCol::styleDidChange(StyleDifference diff, const ComputedStyle* oldStyle)
{
LayoutBox::styleDidChange(diff, oldStyle);
@@ -96,7 +96,7 @@ void LayoutTableCol::willBeRemovedFromTree()
table()->removeColumn(this);
}
-bool LayoutTableCol::isChildAllowed(LayoutObject* child, const LayoutStyle& style) const
+bool LayoutTableCol::isChildAllowed(LayoutObject* child, const ComputedStyle& style) const
{
// We cannot use isTableColumn here as style() may return 0.
return child->isLayoutTableCol() && style.display() == TABLE_COLUMN;
« no previous file with comments | « Source/core/layout/LayoutTableCol.h ('k') | Source/core/layout/LayoutTableRow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698