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

Side by Side Diff: content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.h " 5 #include "content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.h "
6 6
7 #include "base/memory/ptr_util.h"
7 #include "cc/surfaces/surface.h" 8 #include "cc/surfaces/surface.h"
8 #include "cc/surfaces/surface_manager.h" 9 #include "cc/surfaces/surface_manager.h"
9 #include "mojo/public/cpp/bindings/strong_binding.h" 10 #include "mojo/public/cpp/bindings/strong_binding.h"
10 11
11 namespace content { 12 namespace content {
12 13
13 // static 14 // static
14 void OffscreenCanvasCompositorFrameSink::Create( 15 void OffscreenCanvasCompositorFrameSink::Create(
15 const cc::FrameSinkId& frame_sink_id, 16 const cc::FrameSinkId& frame_sink_id,
16 cc::SurfaceManager* surface_manager, 17 cc::SurfaceManager* surface_manager,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 if (client_) 88 if (client_)
88 client_->ReclaimResources(resources); 89 client_->ReclaimResources(resources);
89 } 90 }
90 91
91 void OffscreenCanvasCompositorFrameSink::WillDrawSurface() { 92 void OffscreenCanvasCompositorFrameSink::WillDrawSurface() {
92 if (client_) 93 if (client_)
93 client_->WillDrawSurface(); 94 client_->WillDrawSurface();
94 } 95 }
95 96
96 } // namespace content 97 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698