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

Unified Diff: third_party/WebKit/Source/core/html/forms/DateTimeEditElement.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/html/forms/DateTimeEditElement.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/DateTimeEditElement.cpp b/third_party/WebKit/Source/core/html/forms/DateTimeEditElement.cpp
index b18e798869ea0f82f15b5d3ebf05cdf84c0259a9..d65efff310474a30fe5a7823a8ba339ba4dc260a 100644
--- a/third_party/WebKit/Source/core/html/forms/DateTimeEditElement.cpp
+++ b/third_party/WebKit/Source/core/html/forms/DateTimeEditElement.cpp
@@ -588,7 +588,7 @@ PassRefPtr<ComputedStyle> DateTimeEditElement::CustomStyleForLayoutObject() {
}
style->SetWidth(Length(ceilf(width), kFixed));
style->SetUnique();
- return style.Release();
+ return style;
}
void DateTimeEditElement::DidBlurFromField(WebFocusType focus_type) {

Powered by Google App Engine
This is Rietveld 408576698