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

Unified Diff: cc/test/render_pass_test_utils.cc

Issue 317663005: Scale the ALPHA_THRESHOLD filter's region based on the device scale factor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use SkMatrix when creating AlphaFilter Created 6 years, 5 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
Index: cc/test/render_pass_test_utils.cc
diff --git a/cc/test/render_pass_test_utils.cc b/cc/test/render_pass_test_utils.cc
index 5925a2b81c97003ffec676c234c4450083dbc3f8..3c31a346d6cf6e5ae5abad1cd3c21ded6c84affe 100644
--- a/cc/test/render_pass_test_utils.cc
+++ b/cc/test/render_pass_test_utils.cc
@@ -104,7 +104,8 @@ void AddRenderPassQuad(TestRenderPass* to_pass,
output_rect,
gfx::RectF(),
FilterOperations(),
- FilterOperations());
+ FilterOperations(),
+ gfx::Vector2dF(1.f, 1.f));
}
void AddRenderPassQuad(TestRenderPass* to_pass,
@@ -133,7 +134,8 @@ void AddRenderPassQuad(TestRenderPass* to_pass,
output_rect,
gfx::RectF(),
filters,
- FilterOperations());
+ FilterOperations(),
+ gfx::Vector2dF(1.f, 1.f));
}
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698