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

Unified Diff: content/common/mac/attributed_string_coder_unittest.mm

Issue 24012002: Move Range code to gfx. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: d 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
« no previous file with comments | « content/common/mac/attributed_string_coder.mm ('k') | content/common/text_input_client_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/mac/attributed_string_coder_unittest.mm
diff --git a/content/common/mac/attributed_string_coder_unittest.mm b/content/common/mac/attributed_string_coder_unittest.mm
index a98c48ae893b105ecf1428af7185379f371f3522..72ff166a1999a815acdaa7efb0cf625a027b0a89 100644
--- a/content/common/mac/attributed_string_coder_unittest.mm
+++ b/content/common/mac/attributed_string_coder_unittest.mm
@@ -110,15 +110,15 @@ TEST_F(AttributedStringCoderTest, OutOfRange) {
encoded.attributes()->push_back(
AttributedStringCoder::FontAttribute(
FontDescriptor([NSFont systemFontOfSize:12]),
- ui::Range(0, 5)));
+ gfx::Range(0, 5)));
encoded.attributes()->push_back(
AttributedStringCoder::FontAttribute(
FontDescriptor([NSFont systemFontOfSize:14]),
- ui::Range(5, 100)));
+ gfx::Range(5, 100)));
encoded.attributes()->push_back(
AttributedStringCoder::FontAttribute(
FontDescriptor([NSFont systemFontOfSize:16]),
- ui::Range(100, 5)));
+ gfx::Range(100, 5)));
NSAttributedString* decoded = AttributedStringCoder::Decode(&encoded);
EXPECT_TRUE(decoded);
« no previous file with comments | « content/common/mac/attributed_string_coder.mm ('k') | content/common/text_input_client_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698