diff options
Diffstat (limited to 'components/exo/shell_surface.cc')
-rw-r--r-- | components/exo/shell_surface.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc index 5e2e9eb..6ce2050 100644 --- a/components/exo/shell_surface.cc +++ b/components/exo/shell_surface.cc @@ -229,10 +229,9 @@ 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 { + scoped_ptr<base::trace_event::TracedValue> value( + new base::trace_event::TracedValue()); value->SetString("title", base::UTF16ToUTF8(title_)); value->SetString("application_id", application_id_); return value; |