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); |