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

Unified Diff: third_party/WebKit/Source/web/tests/MHTMLTest.cpp

Issue 2867693003: Changed PassRefPtr templated copy constructor to move constructor. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/PassRefPtr.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/MHTMLTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/MHTMLTest.cpp b/third_party/WebKit/Source/web/tests/MHTMLTest.cpp
index b1fc8225285047be40ed22037c1067584c4ef4ec..3b3cfe6e11e9ea454738e2f766c8c79c9eacf3cd 100644
--- a/third_party/WebKit/Source/web/tests/MHTMLTest.cpp
+++ b/third_party/WebKit/Source/web/tests/MHTMLTest.cpp
@@ -112,7 +112,7 @@ class MHTMLTest : public ::testing::Test {
void AddResource(const char* url,
const char* mime,
PassRefPtr<SharedBuffer> data) {
- SerializedResource resource(ToKURL(url), mime, data);
+ SerializedResource resource(ToKURL(url), mime, std::move(data));
resources_.push_back(resource);
}
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/PassRefPtr.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698