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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTextControlMultiLine.cpp

Issue 2957513002: Removed calls to RefPtr::Release in return statements with auto move. (Closed)
Patch Set: rebased Created 3 years, 6 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
Index: third_party/WebKit/Source/core/layout/LayoutTextControlMultiLine.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTextControlMultiLine.cpp b/third_party/WebKit/Source/core/layout/LayoutTextControlMultiLine.cpp
index bba3053c24bc5dcd42d31beb03897538d5066009..6ac2791e1a9f5549558423e5d0edb2bdbd65b6e5 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTextControlMultiLine.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTextControlMultiLine.cpp
@@ -96,7 +96,7 @@ PassRefPtr<ComputedStyle> LayoutTextControlMultiLine::CreateInnerEditorStyle(
text_block_style->SetDisplay(EDisplay::kBlock);
text_block_style->SetUnique();
- return text_block_style.Release();
+ return text_block_style;
}
LayoutObject* LayoutTextControlMultiLine::LayoutSpecialExcludedChild(

Powered by Google App Engine
This is Rietveld 408576698