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

Unified Diff: services/ui/demo/bitmap_uploader.cc

Issue 2543473004: cc: Move filters from RenderPassDrawQuad to RenderPass (Closed)
Patch Set: Address review comments Created 4 years 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: services/ui/demo/bitmap_uploader.cc
diff --git a/services/ui/demo/bitmap_uploader.cc b/services/ui/demo/bitmap_uploader.cc
index b208ed8627a08f613b72d061dee16a71ae1c1589..a13f7a8e9eda99b043d88f8b8c5b627f6e4ef41d 100644
--- a/services/ui/demo/bitmap_uploader.cc
+++ b/services/ui/demo/bitmap_uploader.cc
@@ -83,8 +83,7 @@ void BitmapUploader::Upload() {
const cc::RenderPassId render_pass_id(1, 1);
std::unique_ptr<cc::RenderPass> pass = cc::RenderPass::Create();
- pass->SetAll(render_pass_id, bounds, bounds, gfx::Transform(),
- true /* has_transparent_background */);
+ pass->SetNew(render_pass_id, bounds, bounds, gfx::Transform());
// The SharedQuadState is owned by the SharedQuadStateList
// shared_quad_state_list.

Powered by Google App Engine
This is Rietveld 408576698