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

Unified Diff: printing/print_settings_initializer.cc

Issue 23731010: Move text_elider to gfx. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update3 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 | « printing/backend/print_backend.cc ('k') | printing/printed_document.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/print_settings_initializer.cc
diff --git a/printing/print_settings_initializer.cc b/printing/print_settings_initializer.cc
index 867f4dcace26b506dacf86d51df96810800956f4..49a7bd861a406ae3639a86644d0023de21e41356 100644
--- a/printing/print_settings_initializer.cc
+++ b/printing/print_settings_initializer.cc
@@ -16,8 +16,8 @@
#include "printing/print_job_constants.h"
#include "printing/print_settings.h"
#include "printing/units.h"
-#include "ui/base/text/text_elider.h"
#include "ui/gfx/font.h"
+#include "ui/gfx/text_elider.h"
#include "url/gurl.h"
using base::DictionaryValue;
@@ -44,7 +44,7 @@ void PrintSettingsInitializer::InitHeaderFooterStrings(
print_settings->date = date;
print_settings->title = title;
- print_settings->url = ui::ElideUrl(GURL(url), gfx::Font(), 0, std::string());
+ print_settings->url = gfx::ElideUrl(GURL(url), gfx::Font(), 0, std::string());
}
} // namespace printing
« no previous file with comments | « printing/backend/print_backend.cc ('k') | printing/printed_document.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698