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

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

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 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/style/ContentData.cpp
diff --git a/third_party/WebKit/Source/core/style/ContentData.cpp b/third_party/WebKit/Source/core/style/ContentData.cpp
index 7689ff278ab225f3bbb31faa5a848b943626ab5f..6ea4e4d79ed70102020d0f3cd3d9fe713d1cb6d7 100644
--- a/third_party/WebKit/Source/core/style/ContentData.cpp
+++ b/third_party/WebKit/Source/core/style/ContentData.cpp
@@ -28,6 +28,7 @@
#include "core/layout/LayoutQuote.h"
#include "core/layout/LayoutTextFragment.h"
#include "core/style/ComputedStyle.h"
+#include <memory>
namespace blink {
@@ -41,7 +42,7 @@ ContentData* ContentData::create(const String& text)
return new TextContentData(text);
}
-ContentData* ContentData::create(PassOwnPtr<CounterContent> counter)
+ContentData* ContentData::create(std::unique_ptr<CounterContent> counter)
{
return new CounterContentData(std::move(counter));
}
« no previous file with comments | « third_party/WebKit/Source/core/style/ContentData.h ('k') | third_party/WebKit/Source/core/style/CounterDirectives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698