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

Unified Diff: ui/gfx/canvas_android.cc

Issue 24883002: Uses and returns the fractional width in text eliding (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch Created 7 years, 3 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: ui/gfx/canvas_android.cc
diff --git a/ui/gfx/canvas_android.cc b/ui/gfx/canvas_android.cc
index 54e45f7653a69acc640507c22039aa540d03e43a..a64e05c9690ca98c8328e190f047429e31b5f256 100644
--- a/ui/gfx/canvas_android.cc
+++ b/ui/gfx/canvas_android.cc
@@ -11,8 +11,8 @@ namespace gfx {
// static
void Canvas::SizeStringInt(const base::string16& text,
const FontList& font_list,
- int* width,
- int* height,
+ float* width,
+ float* height,
int line_height,
int flags) {
NOTIMPLEMENTED();

Powered by Google App Engine
This is Rietveld 408576698