| Index: Source/core/rendering/RenderTextControl.cpp
|
| diff --git a/Source/core/rendering/RenderTextControl.cpp b/Source/core/rendering/RenderTextControl.cpp
|
| index 523dd0c288b7035a104b19d6bc5a85d7bf36d0d4..8854c7381a9052df7f07f837df912652aef73581 100644
|
| --- a/Source/core/rendering/RenderTextControl.cpp
|
| +++ b/Source/core/rendering/RenderTextControl.cpp
|
| @@ -100,18 +100,6 @@ int RenderTextControl::textBlockLogicalHeight() const
|
| return logicalHeight() - borderAndPaddingLogicalHeight();
|
| }
|
|
|
| -int RenderTextControl::textBlockLogicalWidth() const
|
| -{
|
| - Element* innerEditor = innerEditorElement();
|
| - ASSERT(innerEditor);
|
| -
|
| - LayoutUnit unitWidth = logicalWidth() - borderAndPaddingLogicalWidth();
|
| - if (innerEditor->renderer())
|
| - unitWidth -= innerEditor->renderBox()->paddingStart() + innerEditor->renderBox()->paddingEnd();
|
| -
|
| - return unitWidth;
|
| -}
|
| -
|
| void RenderTextControl::updateFromElement()
|
| {
|
| Element* innerEditor = innerEditorElement();
|
|
|