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..1332cb65afb0460569b7186e242ab05f7660c1f7 100644 |
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.h |
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.h |
@@ -6,7 +6,7 @@ |
#define CompositorMutableStateProvider_h |
#include "platform/PlatformExport.h" |
-#include "wtf/PassOwnPtr.h" |
+#include "wtf/PtrUtil.h" |
#include <cstdint> |
@@ -26,7 +26,8 @@ public: |
CompositorMutableStateProvider(cc::LayerTreeImpl*, CompositorMutations*); |
~CompositorMutableStateProvider(); |
- PassOwnPtr<CompositorMutableState> getMutableStateFor(uint64_t elementId); |
+ std::unique_ptr<CompositorMutableState> getMutableStateFor(uint64_t elementId); |
jbroman
2016/06/08 14:59:38
Why all this code changing from OwnPtr to std::uni
majidvp
2016/06/08 21:50:09
I am using unique_ptr for the only call site of th
|
+ |
private: |
cc::LayerTreeImpl* m_state; |
CompositorMutations* m_mutations; |