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

Unified Diff: third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.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/CompositorMutableStateProvider.h
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.h b/third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.h
index 3f1b8fce503c79944579e0fb93137155ae976462..62670a252954ba0a26f497ed365989e11ae8a25a 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.h
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.h
@@ -6,9 +6,8 @@
#define CompositorMutableStateProvider_h
#include "platform/PlatformExport.h"
-#include "wtf/PassOwnPtr.h"
-
#include <cstdint>
+#include <memory>
namespace cc {
class LayerTreeImpl;
@@ -26,7 +25,7 @@ public:
CompositorMutableStateProvider(cc::LayerTreeImpl*, CompositorMutations*);
~CompositorMutableStateProvider();
- PassOwnPtr<CompositorMutableState> getMutableStateFor(uint64_t elementId);
+ std::unique_ptr<CompositorMutableState> getMutableStateFor(uint64_t elementId);
private:
cc::LayerTreeImpl* m_state;
CompositorMutations* m_mutations;

Powered by Google App Engine
This is Rietveld 408576698