summaryrefslogtreecommitdiffstats
path: root/ui/views/win/hwnd_message_handler.cc
diff options
context:
space:
mode:
authordbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-18 20:03:44 +0000
committerdbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-18 20:03:44 +0000
commit2aadf21d2ff4882cb94510e4107067a70a928850 (patch)
tree8acbc4f186e6fc73a20292b2baca8efc954d47cb /ui/views/win/hwnd_message_handler.cc
parentdf97969962d83bf8ad962bc3d46b824ebeee4af0 (diff)
downloadchromium_src-2aadf21d2ff4882cb94510e4107067a70a928850.zip
chromium_src-2aadf21d2ff4882cb94510e4107067a70a928850.tar.gz
chromium_src-2aadf21d2ff4882cb94510e4107067a70a928850.tar.bz2
Prefix string16 with base:: in ui/.
R=sky@chromium.org, tsepez@chromium.org BUG=329295 Review URL: https://codereview.chromium.org/117983002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241625 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/win/hwnd_message_handler.cc')
-rw-r--r--ui/views/win/hwnd_message_handler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
index 1c25faf..396184e 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;