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

Unified Diff: ui/compositor/layer.cc

Issue 10389221: aura: Fix external texture layers when scaling up (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.cc
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
index e4de7b364b82b8c5c609d1a0c3e50e7ed6588a80..206ac8e5d42fe5b0c56e17a33d23641a0e71b489 100644
--- a/ui/compositor/layer.cc
+++ b/ui/compositor/layer.cc
@@ -602,7 +602,7 @@ void Layer::RecomputeDrawsContentAndUVRect() {
static_cast<float>(size.height())/texture_size.height());
texture_layer.setUVRect(rect);
- gfx::Size size_in_pixel = ConvertSizeToPixel(this, bounds().size());
+ gfx::Size size_in_pixel = ConvertSizeToPixel(this, size);
web_layer_.setBounds(size_in_pixel);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698