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

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

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from Kent; merge. 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/CompositorFactory.h
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorFactory.h b/third_party/WebKit/Source/platform/graphics/CompositorFactory.h
index a13cf409b33d2c883aada34c50e094c045a62ae4..0d7ea82adfb7c588f90dd3987ee59ec6d8c00d25 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositorFactory.h
+++ b/third_party/WebKit/Source/platform/graphics/CompositorFactory.h
@@ -10,7 +10,7 @@
#include "platform/animation/CompositorAnimationCurve.h"
#include "platform/animation/CompositorScrollOffsetAnimationCurve.h"
#include "platform/geometry/FloatPoint.h"
-#include "wtf/PassOwnPtr.h"
+#include <memory>
namespace blink {
@@ -25,7 +25,7 @@ class CompositorTransformOperations;
class PLATFORM_EXPORT CompositorFactory {
public:
static void initializeDefault();
- static void initializeForTesting(PassOwnPtr<CompositorFactory>);
+ static void initializeForTesting(std::unique_ptr<CompositorFactory>);
static void shutdown();
static CompositorFactory& current();

Powered by Google App Engine
This is Rietveld 408576698