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