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

Unified Diff: chrome/browser/media_galleries/win/mtp_device_operations_util.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
Index: chrome/browser/media_galleries/win/mtp_device_operations_util.cc
diff --git a/chrome/browser/media_galleries/win/mtp_device_operations_util.cc b/chrome/browser/media_galleries/win/mtp_device_operations_util.cc
index c81edfae2815d7ac2de827fb5e7f4a894d16a1b7..33559c2d064f650fb798abcf2efc0cfef821b19a 100644
--- a/chrome/browser/media_galleries/win/mtp_device_operations_util.cc
+++ b/chrome/browser/media_galleries/win/mtp_device_operations_util.cc
@@ -378,7 +378,7 @@ DWORD CopyDataChunkToLocalFile(IStream* stream,
return 0U;
DWORD bytes_read = 0;
std::string buffer;
- HRESULT hr = stream->Read(WriteInto(&buffer, optimal_transfer_size + 1),
+ HRESULT hr = stream->Read(base::WriteInto(&buffer, optimal_transfer_size + 1),
optimal_transfer_size, &bytes_read);
// IStream::Read() returns S_FALSE when the actual number of bytes read from
// the stream object is less than the number of bytes requested (aka

Powered by Google App Engine
This is Rietveld 408576698