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

Unified Diff: cc/test/surface_hittest_test_helpers.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/surface_aggregator_test_helpers.h ('k') | cc/test/surface_hittest_test_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/surface_hittest_test_helpers.h
diff --git a/cc/test/surface_hittest_test_helpers.h b/cc/test/surface_hittest_test_helpers.h
index 81b292d0ba942233e3fee135b10986b8652463da..46e442d33da8e0e5f1cba67baad21267b6da3876 100644
--- a/cc/test/surface_hittest_test_helpers.h
+++ b/cc/test/surface_hittest_test_helpers.h
@@ -6,9 +6,9 @@
#define CC_TEST_SURFACE_HITTEST_TEST_HELPERS_H_
#include <map>
+#include <memory>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "cc/quads/render_pass.h"
#include "cc/surfaces/surface_factory_client.h"
#include "cc/surfaces/surface_hittest_delegate.h"
@@ -58,11 +58,12 @@ void CreateRenderPass(const RenderPassId& render_pass_id,
const gfx::Transform& transform_to_root_target,
RenderPassList* render_pass_list);
-scoped_ptr<CompositorFrame> CreateCompositorFrameWithRenderPassList(
+std::unique_ptr<CompositorFrame> CreateCompositorFrameWithRenderPassList(
RenderPassList* render_pass_list);
-scoped_ptr<CompositorFrame> CreateCompositorFrame(const gfx::Rect& root_rect,
- RenderPass** render_pass);
+std::unique_ptr<CompositorFrame> CreateCompositorFrame(
+ const gfx::Rect& root_rect,
+ RenderPass** render_pass);
class TestSurfaceHittestDelegate : public SurfaceHittestDelegate {
public:
« no previous file with comments | « cc/test/surface_aggregator_test_helpers.h ('k') | cc/test/surface_hittest_test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698