Index: third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.cpp b/third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.cpp |
index 82886a1b854c1082c10674990001676ca766ee32..04f8c9c943afd69b57e341e7bc92c993e66d9a30 100644 |
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.cpp |
@@ -8,8 +8,8 @@ |
#include "cc/trees/layer_tree_impl.h" |
#include "platform/graphics/CompositorMutableState.h" |
#include "platform/graphics/CompositorMutation.h" |
-#include "wtf/PassOwnPtr.h" |
#include "wtf/PtrUtil.h" |
+#include <memory> |
namespace blink { |
@@ -36,7 +36,7 @@ CompositorMutableStateProvider::getMutableStateFor(uint64_t elementId) |
// Only if this is a new entry do we want to allocate a new mutation. |
if (result.isNewEntry) |
- result.storedValue->value = adoptPtr(new CompositorMutation); |
+ result.storedValue->value = wrapUnique(new CompositorMutation); |
return wrapUnique(new CompositorMutableState(result.storedValue->value.get(), layers.main, layers.scroll)); |
} |