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

Unified Diff: third_party/WebKit/Source/core/style/ContentData.h

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/ContentData.h
diff --git a/third_party/WebKit/Source/core/style/ContentData.h b/third_party/WebKit/Source/core/style/ContentData.h
index 2d8d007f10a901086e7e1fe8ff58a1177c5468e8..683319ddfc86a9d2786eaa7b5dc7cbdb3d0020f7 100644
--- a/third_party/WebKit/Source/core/style/ContentData.h
+++ b/third_party/WebKit/Source/core/style/ContentData.h
@@ -154,7 +154,7 @@ private:
ContentData* cloneInternal() const override
{
OwnPtr<CounterContent> counterData = adoptPtr(new CounterContent(*counter()));
- return create(counterData.release());
+ return create(std::move(counterData));
}
bool equals(const ContentData& data) const override

Powered by Google App Engine
This is Rietveld 408576698