| Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| index a4eeb81b89dad35d791f15161f0f4ff820495010..6728acc554f25c70ac8734bf80b0f4008b10b071 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| @@ -1237,11 +1237,11 @@ void GraphicsLayer::didScroll()
|
| }
|
| }
|
|
|
| -scoped_refptr<base::trace_event::ConvertableToTraceFormat> GraphicsLayer::TakeDebugInfo(cc::Layer* layer)
|
| +scoped_ptr<base::trace_event::ConvertableToTraceFormat> GraphicsLayer::TakeDebugInfo(cc::Layer* layer)
|
| {
|
| - scoped_refptr<base::trace_event::TracedValue> tracedValue = m_debugInfo.asTracedValue();
|
| + scoped_ptr<base::trace_event::TracedValue> tracedValue(m_debugInfo.asTracedValue());
|
| tracedValue->SetString("layer_name", WTF::StringUTF8Adaptor(debugName(layer)).asStringPiece());
|
| - return tracedValue;
|
| + return std::move(tracedValue);
|
| }
|
|
|
| PaintController& GraphicsLayer::paintController()
|
|
|