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

Unified Diff: ui/views/widget/tooltip_manager.h

Issue 24883002: Uses and returns the fractional width in text eliding (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix round-down problems Created 7 years, 2 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/views/widget/tooltip_manager.h
diff --git a/ui/views/widget/tooltip_manager.h b/ui/views/widget/tooltip_manager.h
index b8759a9ec616baeac00deb89fc43b0e2a7da43db..c1f2e59564ed66e083fdb8002747f79a1215a872 100644
--- a/ui/views/widget/tooltip_manager.h
+++ b/ui/views/widget/tooltip_manager.h
@@ -53,7 +53,7 @@ class VIEWS_EXPORT TooltipManager {
// location of the tooltip in screen coordinates. |context| is used to
// determine which gfx::Screen should be used.
static void TrimTooltipToFit(string16* text,
- int* max_width,
+ float* max_width,
int* line_count,
int x,
int y,

Powered by Google App Engine
This is Rietveld 408576698