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

Unified Diff: printing/backend/print_backend.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 | « content/shell/browser/shell_login_dialog.cc ('k') | printing/print_settings_initializer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/backend/print_backend.cc
diff --git a/printing/backend/print_backend.cc b/printing/backend/print_backend.cc
index 958343f4ac8d632b768a3d2547c2e58f517a6087..29dc1fd5e9b48f70f01253a77a69b130c1986aa0 100644
--- a/printing/backend/print_backend.cc
+++ b/printing/backend/print_backend.cc
@@ -7,7 +7,7 @@
#include <algorithm>
#include "third_party/icu/source/common/unicode/uchar.h"
-#include "ui/base/text/text_elider.h"
+#include "ui/gfx/text_elider.h"
namespace {
@@ -44,7 +44,7 @@ string16 PrintBackend::SimplifyDocumentTitle(const string16& title) {
std::remove_if(no_controls.begin(), no_controls.end(), &u_iscntrl),
no_controls.end());
string16 result;
- ui::ElideString(no_controls, kMaxDocumentTitleLength, &result);
+ gfx::ElideString(no_controls, kMaxDocumentTitleLength, &result);
return result;
}
« no previous file with comments | « content/shell/browser/shell_login_dialog.cc ('k') | printing/print_settings_initializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698