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

Unified Diff: ui/views/examples/text_example.cc

Issue 149383002: Clean-up: Replace Canvas::DrawStringInt with DrawStringRect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed the build break. Created 6 years, 11 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 | « ui/views/controls/menu/menu_item_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/text_example.cc
diff --git a/ui/views/examples/text_example.cc b/ui/views/examples/text_example.cc
index 81e4cfc422f29080f536eea88657275d8cf451b6..161710f9964eb3b9a595e49e48286f3fbb73ca50 100644
--- a/ui/views/examples/text_example.cc
+++ b/ui/views/examples/text_example.cc
@@ -136,15 +136,15 @@ class TextExample::TextExampleView : public View {
// The text to draw.
base::string16 text_;
- // Text flags for passing to |DrawStringInt()|.
+ // Text flags for passing to |DrawStringRect()|.
int text_flags_;
// If |true|, specifies to call |DrawStringWithHalo()| instead of
- // |DrawStringInt()|.
+ // |DrawStringRect()|.
bool halo_;
// If |true|, specifies to call |DrawFadeTruncatingString()| instead of
- // |DrawStringInt()|.
+ // |DrawStringRect()|.
bool fade_;
// If |fade_| is |true|, fade mode parameter to |DrawFadeTruncatingString()|.
« no previous file with comments | « ui/views/controls/menu/menu_item_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698