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

Unified Diff: cc/surfaces/surface_aggregator_test_helpers.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/surfaces/surface_aggregator_test_helpers.cc
diff --git a/cc/surfaces/surface_aggregator_test_helpers.cc b/cc/surfaces/surface_aggregator_test_helpers.cc
index d843369d2400e2e93a8dd1ea46cba77f93285c63..a52f2bdd2424a07d9c8e5c8607ea1988bcd4a5cb 100644
--- a/cc/surfaces/surface_aggregator_test_helpers.cc
+++ b/cc/surfaces/surface_aggregator_test_helpers.cc
@@ -74,7 +74,8 @@ void AddTestRenderPassQuad(TestRenderPass* pass,
output_rect,
gfx::RectF(),
FilterOperations(),
- FilterOperations());
+ FilterOperations(),
+ gfx::Vector2dF(1.f, 1.f));
}
void AddQuadInPass(TestRenderPass* pass, Quad desc) {

Powered by Google App Engine
This is Rietveld 408576698