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

Unified Diff: views/controls/button/text_button.cc

Issue 270068: Implement dragging icon for dragging bookmarks in views/gtk. Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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: views/controls/button/text_button.cc
===================================================================
--- views/controls/button/text_button.cc (revision 28576)
+++ views/controls/button/text_button.cc (working copy)
@@ -277,6 +277,14 @@
text_bounds.width(),
text_bounds.height(),
l10n_util::DefaultCanvasTextAlignment());
+#else
+ canvas->DrawStringInt(text_,
+ font_,
+ color_,
+ text_bounds.x(),
+ text_bounds.y(),
+ text_bounds.width(),
+ text_bounds.height());
#endif
} else {
canvas->DrawStringInt(text_,

Powered by Google App Engine
This is Rietveld 408576698