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 c020e78d6f8a624e55213565c1d103fc00d96112..bd2072b47ee7d0b71d538d9f065151da85262315 100644 |
--- a/ui/views/win/hwnd_message_handler.cc |
+++ b/ui/views/win/hwnd_message_handler.cc |
@@ -759,8 +759,9 @@ bool HWNDMessageHandler::SetTitle(const base::string16& title) { |
if (len_with_null == 1 && title.length() == 0) |
return false; |
if (len_with_null - 1 == title.length() && |
- GetWindowText( |
- hwnd(), WriteInto(¤t_title, len_with_null), len_with_null) && |
+ GetWindowText(hwnd(), |
+ base::WriteInto(¤t_title, len_with_null), |
+ len_with_null) && |
current_title == title) |
return false; |
SetWindowText(hwnd(), title.c_str()); |