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 9a41b098c31fc189d58a4ba7c5d4cc8a7c66da05..10f9c53daf639f55bc456676b9c4153b7b9c70e9 100644 |
--- a/third_party/WebKit/Source/core/html/forms/TextControlInnerElements.cpp |
+++ b/third_party/WebKit/Source/core/html/forms/TextControlInnerElements.cpp |
@@ -89,7 +89,7 @@ PassRefPtr<ComputedStyle> EditingViewPortElement::CustomStyleForLayoutObject() { |
style->SetUserModify(EUserModify::kReadOnly); |
style->SetUnique(); |
- return style.Release(); |
+ return style; |
} |
// --------------------------- |
@@ -146,7 +146,7 @@ TextControlInnerEditorElement::CustomStyleForLayoutObject() { |
// Using StyleAdjuster::adjustComputedStyle updates unwanted style. We'd like |
// to apply only editing-related and alignment-related. |
StyleAdjuster::AdjustStyleForEditing(*inner_editor_style); |
- return inner_editor_style.Release(); |
+ return inner_editor_style; |
} |
// ---------------------------- |