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

Unified Diff: cc/layers/render_surface_impl.cc

Issue 2742743003: Delete RenderPassSink (Closed)
Patch Set: Created 3 years, 9 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/layers/render_surface_impl.h ('k') | cc/layers/render_surface_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/render_surface_impl.cc
diff --git a/cc/layers/render_surface_impl.cc b/cc/layers/render_surface_impl.cc
index 4b6355631c136132effbc5ef218dd955f3d3e009..64ee09e10ef67e23d84de8c680717ae515a1ab15 100644
--- a/cc/layers/render_surface_impl.cc
+++ b/cc/layers/render_surface_impl.cc
@@ -357,7 +357,7 @@ int RenderSurfaceImpl::GetRenderPassId() {
return id();
}
-void RenderSurfaceImpl::AppendRenderPasses(RenderPassSink* pass_sink) {
+void RenderSurfaceImpl::AppendRenderPass(RenderPassSink* pass_sink) {
danakj 2017/03/13 14:46:00 Now that this is the case, this function doesn't u
danakj 2017/03/13 14:47:51 Or, if you like, this could just return a unique_p
std::unique_ptr<RenderPass> pass = RenderPass::Create(layer_list_.size());
gfx::Rect damage_rect = GetDamageRect();
damage_rect.Intersect(content_rect());
« no previous file with comments | « cc/layers/render_surface_impl.h ('k') | cc/layers/render_surface_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698