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

Unified Diff: cc/layers/scrollbar_layer.cc

Issue 14348033: NOT FOR SUBMIT - Windows Views HiDPI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rollback empty changes. Created 7 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 | « no previous file | content/renderer/render_widget.cc » ('j') | content/renderer/render_widget.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/scrollbar_layer.cc
diff --git a/cc/layers/scrollbar_layer.cc b/cc/layers/scrollbar_layer.cc
index 19a84ddc1e400e1ee312bd61ffa93f60a1a843de..5d4dc2c5085fddc3782a735dd56893e83e9ba75d 100644
--- a/cc/layers/scrollbar_layer.cc
+++ b/cc/layers/scrollbar_layer.cc
@@ -361,7 +361,7 @@ gfx::Rect ScrollbarLayer::ScrollbarLayerRectToContentRect(
gfx::RectF content_rect = gfx::ScaleRect(layer_rect,
contents_scale_y(),
contents_scale_y());
- return gfx::ToEnclosingRect(content_rect);
+ return gfx::ToSizedRect(content_rect);
enne (OOO) 2013/04/19 20:38:07 Why do you want to round down the size here?
girard 2013/06/03 22:31:55 This line slipped in from another patch I was eval
}
void ScrollbarLayer::SetTexturePriorities(
« no previous file with comments | « no previous file | content/renderer/render_widget.cc » ('j') | content/renderer/render_widget.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698