Index: third_party/WebKit/Source/core/layout/LayoutAnalyzer.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutAnalyzer.cpp b/third_party/WebKit/Source/core/layout/LayoutAnalyzer.cpp |
index 754a31c34dabd18faa292eceea06f61034e1dc70..1f5b74118775e6befceac8dfbeeb6b39c7565133 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutAnalyzer.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutAnalyzer.cpp |
@@ -9,7 +9,6 @@ |
#include "core/layout/LayoutObject.h" |
#include "core/layout/LayoutText.h" |
#include "platform/TracedValue.h" |
-#include <memory> |
namespace blink { |
@@ -105,9 +104,9 @@ void LayoutAnalyzer::pop(const LayoutObject& o) |
--m_depth; |
} |
-std::unique_ptr<TracedValue> LayoutAnalyzer::toTracedValue() |
+PassOwnPtr<TracedValue> LayoutAnalyzer::toTracedValue() |
{ |
- std::unique_ptr<TracedValue> tracedValue(TracedValue::create()); |
+ OwnPtr<TracedValue> tracedValue(TracedValue::create()); |
for (size_t i = 0; i < NumCounters; ++i) { |
if (m_counters[i] > 0) |
tracedValue->setInteger(nameForCounter(static_cast<Counter>(i)), m_counters[i]); |