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

Unified Diff: Source/core/layout/LayoutTableRow.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/LayoutTableRow.h ('k') | Source/core/layout/LayoutTableSection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTableRow.cpp
diff --git a/Source/core/layout/LayoutTableRow.cpp b/Source/core/layout/LayoutTableRow.cpp
index 641d23348bcd9c0815038cfe7fce69241d12d091..02da3f68be8f57b955db4f0565ff26dfbeeaafca 100644
--- a/Source/core/layout/LayoutTableRow.cpp
+++ b/Source/core/layout/LayoutTableRow.cpp
@@ -55,7 +55,7 @@ void LayoutTableRow::willBeRemovedFromTree()
section()->setNeedsCellRecalc();
}
-static bool borderWidthChanged(const LayoutStyle* oldStyle, const LayoutStyle* newStyle)
+static bool borderWidthChanged(const ComputedStyle* oldStyle, const ComputedStyle* newStyle)
{
return oldStyle->borderLeftWidth() != newStyle->borderLeftWidth()
|| oldStyle->borderTopWidth() != newStyle->borderTopWidth()
@@ -63,7 +63,7 @@ static bool borderWidthChanged(const LayoutStyle* oldStyle, const LayoutStyle* n
|| oldStyle->borderBottomWidth() != newStyle->borderBottomWidth();
}
-void LayoutTableRow::styleDidChange(StyleDifference diff, const LayoutStyle* oldStyle)
+void LayoutTableRow::styleDidChange(StyleDifference diff, const ComputedStyle* oldStyle)
{
ASSERT(style()->display() == TABLE_ROW);
@@ -236,7 +236,7 @@ LayoutTableRow* LayoutTableRow::createAnonymous(Document* document)
LayoutTableRow* LayoutTableRow::createAnonymousWithParentRenderer(const LayoutObject* parent)
{
LayoutTableRow* newRow = LayoutTableRow::createAnonymous(&parent->document());
- RefPtr<LayoutStyle> newStyle = LayoutStyle::createAnonymousStyleWithDisplay(parent->styleRef(), TABLE_ROW);
+ RefPtr<ComputedStyle> newStyle = ComputedStyle::createAnonymousStyleWithDisplay(parent->styleRef(), TABLE_ROW);
newRow->setStyle(newStyle.release());
return newRow;
}
« no previous file with comments | « Source/core/layout/LayoutTableRow.h ('k') | Source/core/layout/LayoutTableSection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698