Chromium Code Reviews| Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
| diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
| index dd8aa406385bf0b224a860a9b0b48e2c6ce27d15..d03f5ccb5f1409e571ccdf13538b8c312cc932f0 100644 |
| --- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
| +++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
| @@ -286,8 +286,7 @@ void DesktopWindowTreeHostX11::OnNativeWidgetCreated( |
| } |
| scoped_ptr<corewm::Tooltip> DesktopWindowTreeHostX11::CreateTooltip() { |
| - return scoped_ptr<corewm::Tooltip>( |
| - new corewm::TooltipAura(gfx::SCREEN_TYPE_NATIVE)); |
| + return make_scoped_ptr(new corewm::TooltipAura(gfx::SCREEN_TYPE_NATIVE)); |
| } |
| scoped_ptr<aura::client::DragDropClient> |
| @@ -296,7 +295,7 @@ DesktopWindowTreeHostX11::CreateDragDropClient( |
| drag_drop_client_ = new DesktopDragDropClientAuraX11( |
| window(), cursor_manager, xdisplay_, xwindow_); |
| drag_drop_client_->Init(); |
| - return scoped_ptr<aura::client::DragDropClient>(drag_drop_client_).Pass(); |
| + return make_scoped_ptr(drag_drop_client_).Pass(); |
|
sky
2015/01/05 17:45:05
no .Pass()
tfarina
2015/01/08 20:43:26
Done.
|
| } |
| void DesktopWindowTreeHostX11::Close() { |