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

Unified Diff: content/browser/android/edge_effect.cc

Issue 226283004: Rasterize at maximum scale for scale animations on CPU-rasterized layers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 8 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/trees/layer_tree_host_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/edge_effect.cc
diff --git a/content/browser/android/edge_effect.cc b/content/browser/android/edge_effect.cc
index 41fa1a171e18db9eb17456c2cdfe31152e1e3c78..1381d42185afcd15e8a4d056aab3424da8a9a64a 100644
--- a/content/browser/android/edge_effect.cc
+++ b/content/browser/android/edge_effect.cc
@@ -344,7 +344,7 @@ void EdgeEffect::ApplyToLayers(gfx::SizeF size, Edge edge) {
// Glow
gfx::Size glow_image_bounds;
- glow_->CalculateContentsScale(1.f, 1.f, 1.f, false,
+ glow_->CalculateContentsScale(1.f, 1.f, 1.f, 0.f, false,
&dummy_scale_x, &dummy_scale_y,
&glow_image_bounds);
const int glow_height = glow_image_bounds.height();
@@ -356,7 +356,7 @@ void EdgeEffect::ApplyToLayers(gfx::SizeF size, Edge edge) {
// Edge
gfx::Size edge_image_bounds;
- edge_->CalculateContentsScale(1.f, 1.f, 1.f, false,
+ edge_->CalculateContentsScale(1.f, 1.f, 1.f, 0.f, false,
&dummy_scale_x, &dummy_scale_y,
&edge_image_bounds);
const int edge_height = edge_image_bounds.height();
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698