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

Unified Diff: third_party/WebKit/Source/core/style/CounterDirectives.cpp

Issue 1980893002: Remove OwnPtr::release() calls in core/ (part 4). (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/style/CounterDirectives.cpp
diff --git a/third_party/WebKit/Source/core/style/CounterDirectives.cpp b/third_party/WebKit/Source/core/style/CounterDirectives.cpp
index b2dd65b58f111e37b75121552575f2cb49721328..ce9d391cbf26c52cefc548f5631543b784dbffd7 100644
--- a/third_party/WebKit/Source/core/style/CounterDirectives.cpp
+++ b/third_party/WebKit/Source/core/style/CounterDirectives.cpp
@@ -37,7 +37,7 @@ PassOwnPtr<CounterDirectiveMap> clone(const CounterDirectiveMap& counterDirectiv
{
OwnPtr<CounterDirectiveMap> result = adoptPtr(new CounterDirectiveMap);
*result = counterDirectives;
- return result.release();
+ return result;
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/style/ContentData.h ('k') | third_party/WebKit/Source/core/style/ShadowList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698