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

Unified Diff: ui/ozone/public/surface_factory_ozone.cc

Issue 855023003: Add presubmit check for scoped_ptr usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/platform/test/test_window_manager.cc ('k') | ui/views/bubble/bubble_frame_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/surface_factory_ozone.cc
diff --git a/ui/ozone/public/surface_factory_ozone.cc b/ui/ozone/public/surface_factory_ozone.cc
index 3d0f5cab1098abe6ef4a0bb8ddebf20d46ba6ced..1c57038d32452d9eecc4bea34178b9b65e8265af 100644
--- a/ui/ozone/public/surface_factory_ozone.cc
+++ b/ui/ozone/public/surface_factory_ozone.cc
@@ -42,20 +42,20 @@ int SurfaceFactoryOzone::GetDrmFd() {
scoped_ptr<SurfaceOzoneEGL> SurfaceFactoryOzone::CreateEGLSurfaceForWidget(
gfx::AcceleratedWidget widget) {
NOTIMPLEMENTED();
- return scoped_ptr<SurfaceOzoneEGL>();
+ return nullptr;
}
scoped_ptr<SurfaceOzoneEGL>
SurfaceFactoryOzone::CreateSurfacelessEGLSurfaceForWidget(
gfx::AcceleratedWidget widget) {
NOTIMPLEMENTED();
- return scoped_ptr<SurfaceOzoneEGL>();
+ return nullptr;
}
scoped_ptr<SurfaceOzoneCanvas> SurfaceFactoryOzone::CreateCanvasForWidget(
gfx::AcceleratedWidget widget) {
NOTIMPLEMENTED();
- return scoped_ptr<SurfaceOzoneCanvas>();
+ return nullptr;
}
const int32* SurfaceFactoryOzone::GetEGLSurfaceProperties(
« no previous file with comments | « ui/ozone/platform/test/test_window_manager.cc ('k') | ui/views/bubble/bubble_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698