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

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

Issue 2543473004: cc: Move filters from RenderPassDrawQuad to RenderPass (Closed)
Patch Set: 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..66047d89b7b21481a4350d8cc5ce4b378d90d957 100644
--- a/services/ui/demo/bitmap_uploader.cc
+++ b/services/ui/demo/bitmap_uploader.cc
@@ -84,6 +84,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(),
+ cc::FilterOperations(), cc::FilterOperations(),
danakj 2016/12/01 01:50:46 This should use SetNew for that reason. It can set
ajuma 2016/12/13 15:08:12 Done.
true /* has_transparent_background */);
// The SharedQuadState is owned by the SharedQuadStateList

Powered by Google App Engine
This is Rietveld 408576698