Index: google_apis/drive/drive_api_requests.h |
diff --git a/google_apis/drive/drive_api_requests.h b/google_apis/drive/drive_api_requests.h |
index b34f970229897c481965cc321497010b6d2146b8..23555762cabf0a47c4a8ba0ed7b2ed45ccc0b3bc 100644 |
--- a/google_apis/drive/drive_api_requests.h |
+++ b/google_apis/drive/drive_api_requests.h |
@@ -6,8 +6,8 @@ |
#define GOOGLE_APIS_DRIVE_DRIVE_API_REQUESTS_H_ |
#include <stdint.h> |
- |
#include <string> |
+#include <utility> |
#include <vector> |
#include "base/callback_forward.h" |
@@ -169,7 +169,7 @@ class DriveApiDataRequest : public DriveApiPartialFieldRequest { |
void OnDataParsed(DriveApiErrorCode error, scoped_ptr<DataType> value) { |
if (!value) |
error = DRIVE_PARSE_ERROR; |
- callback_.Run(error, value.Pass()); |
+ callback_.Run(error, std::move(value)); |
OnProcessURLFetchResultsComplete(); |
} |