| 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 b1b510de7454f14564588947fc85825b2d74e097..b64aa6e89eb6f0347cfa8145f34efd089ba3a311 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutAnalyzer.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutAnalyzer.cpp
|
| @@ -105,14 +105,14 @@ void LayoutAnalyzer::pop(const LayoutObject& o)
|
| --m_depth;
|
| }
|
|
|
| -PassRefPtr<TracedValue> LayoutAnalyzer::toTracedValue()
|
| +scoped_refptr<TracedValue> LayoutAnalyzer::toTracedValue()
|
| {
|
| - RefPtr<TracedValue> tracedValue(TracedValue::create());
|
| + scoped_refptr<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]);
|
| }
|
| - return tracedValue.release();
|
| + return tracedValue;
|
| }
|
|
|
| const char* LayoutAnalyzer::nameForCounter(Counter counter) const
|
|
|