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

Unified Diff: third_party/WebKit/Source/core/fileapi/Blob.h

Issue 2282413002: Replaced PassRefPtr copies with moves in Source/core. (Closed)
Patch Set: rebased Created 4 years, 3 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: third_party/WebKit/Source/core/fileapi/Blob.h
diff --git a/third_party/WebKit/Source/core/fileapi/Blob.h b/third_party/WebKit/Source/core/fileapi/Blob.h
index c6b9f31c0b2d4fa557cb16a5bb3fb7689c3f8f24..379dbe13def39f244dfe0995b12398dbce00d81b 100644
--- a/third_party/WebKit/Source/core/fileapi/Blob.h
+++ b/third_party/WebKit/Source/core/fileapi/Blob.h
@@ -61,7 +61,7 @@ public:
static Blob* create(PassRefPtr<BlobDataHandle> blobDataHandle)
{
- return new Blob(blobDataHandle);
+ return new Blob(std::move(blobDataHandle));
}
static Blob* create(const unsigned char* data, size_t bytes, const String& contentType);
« no previous file with comments | « third_party/WebKit/Source/core/events/PopStateEvent.cpp ('k') | third_party/WebKit/Source/core/fileapi/File.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698