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

Unified Diff: third_party/WebKit/Source/core/html/forms/InputType.cpp

Issue 1983753002: Remove OwnPtr::release() calls in core/ (part 2). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/InputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/InputType.cpp b/third_party/WebKit/Source/core/html/forms/InputType.cpp
index 38b62415109b9b504db2bf4eed3554b4887aa583..6bd906c44da9206a8fccdf1e212155671a42649e 100644
--- a/third_party/WebKit/Source/core/html/forms/InputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/InputType.cpp
@@ -105,7 +105,7 @@ static PassOwnPtr<InputTypeFactoryMap> createInputTypeFactoryMap()
map->add(InputTypeNames::url, URLInputType::create);
map->add(InputTypeNames::week, WeekInputType::create);
// No need to register "text" because it is the default type.
- return map.release();
+ return map;
}
static const InputTypeFactoryMap* factoryMap()

Powered by Google App Engine
This is Rietveld 408576698