summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/infobar_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/infobar_gtk.cc')
-rw-r--r--chrome/browser/gtk/infobar_gtk.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/gtk/infobar_gtk.cc b/chrome/browser/gtk/infobar_gtk.cc
index cef8157..b14b00d 100644
--- a/chrome/browser/gtk/infobar_gtk.cc
+++ b/chrome/browser/gtk/infobar_gtk.cc
@@ -151,7 +151,7 @@ void InfoBar::AddLabelAndLink(const string16& display_text,
GtkWidget* link_button = NULL;
if (link_text.empty()) {
// No link text, so skip creating the link and splitting display_text.
- link_offset = std::wstring::npos;
+ link_offset = string16::npos;
} else {
// If we have some link text, create the link button.
link_button = gtk_chrome_link_button_new(UTF16ToUTF8(link_text).c_str());
@@ -170,7 +170,7 @@ void InfoBar::AddLabelAndLink(const string16& display_text,
// If link_offset is npos, we right-align the link instead of embedding it
// in the text.
- if (link_offset == std::wstring::npos) {
+ if (link_offset == string16::npos) {
if (link_button)
gtk_box_pack_end(GTK_BOX(hbox), link_button, FALSE, FALSE, 0);
GtkWidget* label = gtk_label_new(UTF16ToUTF8(display_text).c_str());