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

Unified Diff: ui/views/win/hwnd_message_handler.cc

Issue 1223983002: Move WriteInto to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « ui/gfx/win/hwnd_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(&current_title, len_with_null), len_with_null) &&
+ GetWindowText(hwnd(),
+ base::WriteInto(&current_title, len_with_null),
+ len_with_null) &&
current_title == title)
return false;
SetWindowText(hwnd(), title.c_str());
« no previous file with comments | « ui/gfx/win/hwnd_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698