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

Unified Diff: views/controls/label_unittest.cc

Issue 8392017: Change string16 to std::string in the gfx::Font() interface. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add 'UTF-8' everywhere in the comments Created 9 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
« no previous file with comments | « ui/gfx/render_text_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/label_unittest.cc
diff --git a/views/controls/label_unittest.cc b/views/controls/label_unittest.cc
index 9a86fc8e16893d6d220b260eb9ce9f928efeb9a3..cbb769ae85274f875da2c215e8b2ee3b087a6bb6 100644
--- a/views/controls/label_unittest.cc
+++ b/views/controls/label_unittest.cc
@@ -20,7 +20,7 @@ const int kMinTextDimension = 4;
// Courier is failing on linux because it's non scalable.
TEST(LabelTest, FontPropertyCourier) {
Label label;
- string16 font_name(ASCIIToUTF16("courier"));
+ std::string font_name("courier");
gfx::Font font(font_name, 30);
label.SetFont(font);
gfx::Font font_used = label.font();
@@ -31,7 +31,7 @@ TEST(LabelTest, FontPropertyCourier) {
TEST(LabelTest, FontPropertyArial) {
Label label;
- string16 font_name(ASCIIToUTF16("arial"));
+ std::string font_name("arial");
gfx::Font font(font_name, 30);
label.SetFont(font);
gfx::Font font_used = label.font();
« no previous file with comments | « ui/gfx/render_text_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698