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

Unified Diff: storage/browser/blob/scoped_file.cc

Issue 1407443002: Remove old C++03 move emulation code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: std::move and reflow Created 5 years, 1 month 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 | « storage/browser/blob/scoped_file.h ('k') | ui/gl/android/scoped_java_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/blob/scoped_file.cc
diff --git a/storage/browser/blob/scoped_file.cc b/storage/browser/blob/scoped_file.cc
index 825dc041198a1594751febfab4e28665c1f6f610..b57e88208f9aa89f26922db6a2e443ca21961a49 100644
--- a/storage/browser/blob/scoped_file.cc
+++ b/storage/browser/blob/scoped_file.cc
@@ -29,8 +29,8 @@ ScopedFile::ScopedFile(const base::FilePath& path,
<< " runner:" << file_task_runner.get();
}
-ScopedFile::ScopedFile(RValue other) {
- MoveFrom(*other.object);
+ScopedFile::ScopedFile(ScopedFile&& other) {
+ MoveFrom(other);
}
ScopedFile::~ScopedFile() {
« no previous file with comments | « storage/browser/blob/scoped_file.h ('k') | ui/gl/android/scoped_java_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698