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

Unified Diff: Source/core/layout/LayoutTextControlMultiLine.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/LayoutTextControlMultiLine.h ('k') | Source/core/layout/LayoutTextControlSingleLine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTextControlMultiLine.cpp
diff --git a/Source/core/layout/LayoutTextControlMultiLine.cpp b/Source/core/layout/LayoutTextControlMultiLine.cpp
index 6b4113c8f67986c7da37a311f80af7a776afa29a..b683198ee135118022440099c5fd42196270b938 100644
--- a/Source/core/layout/LayoutTextControlMultiLine.cpp
+++ b/Source/core/layout/LayoutTextControlMultiLine.cpp
@@ -75,9 +75,9 @@ int LayoutTextControlMultiLine::baselinePosition(FontBaseline baselineType, bool
return LayoutBox::baselinePosition(baselineType, firstLine, direction, linePositionMode);
}
-PassRefPtr<LayoutStyle> LayoutTextControlMultiLine::createInnerEditorStyle(const LayoutStyle& startStyle) const
+PassRefPtr<ComputedStyle> LayoutTextControlMultiLine::createInnerEditorStyle(const ComputedStyle& startStyle) const
{
- RefPtr<LayoutStyle> textBlockStyle = LayoutStyle::create();
+ RefPtr<ComputedStyle> textBlockStyle = ComputedStyle::create();
textBlockStyle->inheritFrom(startStyle);
adjustInnerEditorStyle(*textBlockStyle);
textBlockStyle->setDisplay(BLOCK);
« no previous file with comments | « Source/core/layout/LayoutTextControlMultiLine.h ('k') | Source/core/layout/LayoutTextControlSingleLine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698