Index: ui/views/win/hwnd_message_handler.cc |
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc |
index 1c25faf15e38faa1ab25ef5f63dba906ac0c032d..396184e3b54e73032003d7a379df91af3298b42c 100644 |
--- a/ui/views/win/hwnd_message_handler.cc |
+++ b/ui/views/win/hwnd_message_handler.cc |
@@ -753,8 +753,8 @@ void HWNDMessageHandler::SetVisibilityChangedAnimationsEnabled(bool enabled) { |
} |
} |
-bool HWNDMessageHandler::SetTitle(const string16& title) { |
- string16 current_title; |
+bool HWNDMessageHandler::SetTitle(const base::string16& title) { |
+ base::string16 current_title; |
size_t len_with_null = GetWindowTextLength(hwnd()) + 1; |
if (len_with_null == 1 && title.length() == 0) |
return false; |