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

Unified Diff: content/browser/compositor/gpu_browser_compositor_output_surface.h

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/compositor/gpu_browser_compositor_output_surface.h
diff --git a/content/browser/compositor/gpu_browser_compositor_output_surface.h b/content/browser/compositor/gpu_browser_compositor_output_surface.h
index 4133bc3695127862a2596b9350b9b54470cf180e..950a23a1d706252f1a90bfc71a7f11782516eb91 100644
--- a/content/browser/compositor/gpu_browser_compositor_output_surface.h
+++ b/content/browser/compositor/gpu_browser_compositor_output_surface.h
@@ -33,7 +33,7 @@ class GpuBrowserCompositorOutputSurface
const scoped_refptr<ContextProviderCommandBuffer>& context,
const scoped_refptr<ContextProviderCommandBuffer>& worker_context,
const scoped_refptr<ui::CompositorVSyncManager>& vsync_manager,
- scoped_ptr<BrowserCompositorOverlayCandidateValidator>
+ std::unique_ptr<BrowserCompositorOverlayCandidateValidator>
overlay_candidate_validator);
~GpuBrowserCompositorOutputSurface() override;
@@ -76,7 +76,7 @@ class GpuBrowserCompositorOutputSurface
base::TimeDelta interval)>
update_vsync_parameters_callback_;
- scoped_ptr<ReflectorTexture> reflector_texture_;
+ std::unique_ptr<ReflectorTexture> reflector_texture_;
DISALLOW_COPY_AND_ASSIGN(GpuBrowserCompositorOutputSurface);
};
« no previous file with comments | « content/browser/compositor/gl_helper_unittest.cc ('k') | content/browser/compositor/gpu_browser_compositor_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698