Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(647)

Side by Side Diff: content/browser/compositor/software_output_device_ozone.cc

Issue 1866203004: Convert //cc from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptrcc: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/memory/scoped_ptr.h"
5 #include "content/browser/compositor/software_output_device_ozone.h" 6 #include "content/browser/compositor/software_output_device_ozone.h"
6 #include "ui/compositor/compositor.h" 7 #include "ui/compositor/compositor.h"
7 #include "ui/gfx/skia_util.h" 8 #include "ui/gfx/skia_util.h"
8 #include "ui/gfx/vsync_provider.h" 9 #include "ui/gfx/vsync_provider.h"
9 #include "ui/ozone/public/ozone_platform.h" 10 #include "ui/ozone/public/ozone_platform.h"
10 #include "ui/ozone/public/surface_factory_ozone.h" 11 #include "ui/ozone/public/surface_factory_ozone.h"
11 #include "ui/ozone/public/surface_ozone_canvas.h" 12 #include "ui/ozone/public/surface_ozone_canvas.h"
12 13
13 namespace content { 14 namespace content {
14 15
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 return SoftwareOutputDevice::BeginPaint(damage_rect); 62 return SoftwareOutputDevice::BeginPaint(damage_rect);
62 } 63 }
63 64
64 void SoftwareOutputDeviceOzone::EndPaint() { 65 void SoftwareOutputDeviceOzone::EndPaint() {
65 SoftwareOutputDevice::EndPaint(); 66 SoftwareOutputDevice::EndPaint();
66 67
67 surface_ozone_->PresentCanvas(damage_rect_); 68 surface_ozone_->PresentCanvas(damage_rect_);
68 } 69 }
69 70
70 } // namespace content 71 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698