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..3f0bc4eaf11d811077b846da8dbc1e1e2dfc7e9c 100644 |
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.h |
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.h |
@@ -6,9 +6,9 @@ |
#define CompositorMutableStateProvider_h |
#include "platform/PlatformExport.h" |
-#include "wtf/PassOwnPtr.h" |
#include <cstdint> |
+#include <memory> |
namespace cc { |
class LayerTreeImpl; |
@@ -26,9 +26,10 @@ 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; |
+ cc::LayerTreeImpl* m_tree; |
CompositorMutations* m_mutations; |
}; |