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

Unified Diff: third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.h

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/platform/graphics/DrawLooperBuilder.h
diff --git a/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.h b/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.h
index b94f5a7fb15822bbc624ebe4eb6dd73a476fa44a..eeb03dfd87f493f6a68839f4e211fc4cb42a9410 100644
--- a/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.h
+++ b/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.h
@@ -35,8 +35,8 @@
#include "third_party/skia/include/effects/SkLayerDrawLooper.h"
#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
-#include "wtf/PassOwnPtr.h"
#include "wtf/PassRefPtr.h"
+#include <memory>
class SkDrawLooper;
@@ -64,7 +64,7 @@ public:
DrawLooperBuilder();
~DrawLooperBuilder();
- static PassOwnPtr<DrawLooperBuilder> create();
+ static std::unique_ptr<DrawLooperBuilder> create();
// Creates the SkDrawLooper and passes ownership to the caller. The builder
// should not be used any more after calling this method.

Powered by Google App Engine
This is Rietveld 408576698