Index: third_party/WebKit/Source/core/layout/TracedLayoutObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/TracedLayoutObject.cpp b/third_party/WebKit/Source/core/layout/TracedLayoutObject.cpp |
index fddb6c4aea6748ba1ea9a99221dffb885c1b9f6c..efc34549d1ec8945943d321e6697697066066893 100644 |
--- a/third_party/WebKit/Source/core/layout/TracedLayoutObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/TracedLayoutObject.cpp |
@@ -9,6 +9,7 @@ |
#include "core/layout/LayoutText.h" |
#include "core/layout/LayoutView.h" |
#include <inttypes.h> |
+#include <memory> |
namespace blink { |
@@ -99,9 +100,9 @@ void dumpToTracedValue(const LayoutObject& object, bool traceGeometry, TracedVal |
} // namespace |
-PassOwnPtr<TracedValue> TracedLayoutObject::create(const LayoutView& view, bool traceGeometry) |
+std::unique_ptr<TracedValue> TracedLayoutObject::create(const LayoutView& view, bool traceGeometry) |
{ |
- OwnPtr<TracedValue> tracedValue = TracedValue::create(); |
+ std::unique_ptr<TracedValue> tracedValue = TracedValue::create(); |
dumpToTracedValue(view, traceGeometry, tracedValue.get()); |
return tracedValue; |
} |