| Index: components/exo/shell_surface.cc
|
| diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc
|
| index 5e2e9eb795a6dc3b62878edd892cce27059b0c24..9807945fa30d09cdea00e71026a02fa8d000d06a 100644
|
| --- a/components/exo/shell_surface.cc
|
| +++ b/components/exo/shell_surface.cc
|
| @@ -229,10 +229,8 @@ Surface* ShellSurface::GetMainSurface(const aura::Window* window) {
|
| return window->GetProperty(kMainSurfaceKey);
|
| }
|
|
|
| -scoped_refptr<base::trace_event::TracedValue> ShellSurface::AsTracedValue()
|
| - const {
|
| - scoped_refptr<base::trace_event::TracedValue> value =
|
| - new base::trace_event::TracedValue;
|
| +scoped_ptr<base::trace_event::TracedValue> ShellSurface::AsTracedValue() const {
|
| + auto value = make_scoped_ptr(new base::trace_event::TracedValue);
|
| value->SetString("title", base::UTF16ToUTF8(title_));
|
| value->SetString("application_id", application_id_);
|
| return value;
|
|
|