Commit 409d2fb7 authored by thestig@chromium.org's avatar thestig@chromium.org

Linux/CrOS: In the MTPDeviceDelegate, use the right variable when handling 0-byte files.

BUG=232950
TEST=see bug

Review URL: https://codereview.chromium.org/14093019

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194725 0039d316-1c4b-4281-b951-d872f2087c98
parent 7258fe85
...@@ -404,7 +404,7 @@ void MTPDeviceDelegateImplLinux::OnDidGetFileInfoToCreateSnapshotFile( ...@@ -404,7 +404,7 @@ void MTPDeviceDelegateImplLinux::OnDidGetFileInfoToCreateSnapshotFile(
if (file_info.size == 0) { if (file_info.size == 0) {
// Empty snapshot file. // Empty snapshot file.
return OnDidWriteDataIntoSnapshotFile( return OnDidWriteDataIntoSnapshotFile(
snapshot_file_info, snapshot_request_info->snapshot_file_path); snapshot_file_info, current_snapshot_request_info_->snapshot_file_path);
} }
WriteDataIntoSnapshotFile(snapshot_file_info); WriteDataIntoSnapshotFile(snapshot_file_info);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment