Index: third_party/WebKit/Source/core/html/forms/TextControlInnerElements.cpp |
diff --git a/third_party/WebKit/Source/core/html/forms/TextControlInnerElements.cpp b/third_party/WebKit/Source/core/html/forms/TextControlInnerElements.cpp |
index 15d79bea17c74173b4a917ba07485a014883d267..8fa138da4e62d8a7c9b4520a4bfbaf3c0c563a75 100644 |
--- a/third_party/WebKit/Source/core/html/forms/TextControlInnerElements.cpp |
+++ b/third_party/WebKit/Source/core/html/forms/TextControlInnerElements.cpp |
@@ -89,9 +89,6 @@ PassRefPtr<ComputedStyle> EditingViewPortElement::CustomStyleForLayoutObject() { |
style->SetUserModify(EUserModify::kReadOnly); |
style->SetUnique(); |
- if (const ComputedStyle* parent_style = ParentComputedStyle()) |
- StyleAdjuster::AdjustStyleForAlignment(*style, *parent_style); |
- |
return style.Release(); |
} |
@@ -149,8 +146,6 @@ TextControlInnerEditorElement::CustomStyleForLayoutObject() { |
// Using StyleAdjuster::adjustComputedStyle updates unwanted style. We'd like |
// to apply only editing-related and alignment-related. |
StyleAdjuster::AdjustStyleForEditing(*inner_editor_style); |
- if (const ComputedStyle* parent_style = ParentComputedStyle()) |
- StyleAdjuster::AdjustStyleForAlignment(*inner_editor_style, *parent_style); |
return inner_editor_style.Release(); |
} |