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

Unified Diff: cc/test/surface_hittest_test_helpers.h

Issue 2096493002: Make cc::CompositorFrames movable [Part 1 of 2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Dana's nits Created 4 years, 6 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/pixel_test_output_surface.cc ('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 46e442d33da8e0e5f1cba67baad21267b6da3876..d1ec980ba5cfa44b456bd6b078885e075d044012 100644
--- a/cc/test/surface_hittest_test_helpers.h
+++ b/cc/test/surface_hittest_test_helpers.h
@@ -58,12 +58,11 @@ void CreateRenderPass(const RenderPassId& render_pass_id,
const gfx::Transform& transform_to_root_target,
RenderPassList* render_pass_list);
-std::unique_ptr<CompositorFrame> CreateCompositorFrameWithRenderPassList(
+CompositorFrame CreateCompositorFrameWithRenderPassList(
RenderPassList* render_pass_list);
-std::unique_ptr<CompositorFrame> CreateCompositorFrame(
- const gfx::Rect& root_rect,
- RenderPass** render_pass);
+CompositorFrame CreateCompositorFrame(const gfx::Rect& root_rect,
+ RenderPass** render_pass);
class TestSurfaceHittestDelegate : public SurfaceHittestDelegate {
public:
« no previous file with comments | « cc/test/pixel_test_output_surface.cc ('k') | cc/test/surface_hittest_test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698