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

Unified Diff: third_party/WebKit/Source/platform/mhtml/ArchiveResource.cpp

Issue 2306293002: Replaced PassRefPtr copies with moves in Source/platform. (Closed)
Patch Set: 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/platform/mhtml/ArchiveResource.cpp
diff --git a/third_party/WebKit/Source/platform/mhtml/ArchiveResource.cpp b/third_party/WebKit/Source/platform/mhtml/ArchiveResource.cpp
index 19c4dbeb47d3e65ca9943553cc91dfe5112ee752..04233bb1fcb4d0494237a1aad17b50e58bf9f83b 100644
--- a/third_party/WebKit/Source/platform/mhtml/ArchiveResource.cpp
+++ b/third_party/WebKit/Source/platform/mhtml/ArchiveResource.cpp
@@ -56,7 +56,7 @@ ArchiveResource* ArchiveResource::create(
const AtomicString& mimeType,
const AtomicString& textEncoding)
{
- return new ArchiveResource(data, url, contentID, mimeType, textEncoding);
+ return new ArchiveResource(std::move(data), url, contentID, mimeType, textEncoding);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698