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

Unified Diff: third_party/WebKit/Source/platform/exported/WebURLLoadTiming.cpp

Issue 2879133002: Made conversions from PassRefPtr to WebPrivatePtr move only. (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
Index: third_party/WebKit/Source/platform/exported/WebURLLoadTiming.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebURLLoadTiming.cpp b/third_party/WebKit/Source/platform/exported/WebURLLoadTiming.cpp
index 5de4eb42b21d9a73a8fb280ba9761a06a39ec33f..1c2145a28cf0c17d9f8c8f0640ea9bfe8d8ff513 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLLoadTiming.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLLoadTiming.cpp
@@ -176,11 +176,11 @@ void WebURLLoadTiming::SetPushEnd(double end) {
}
WebURLLoadTiming::WebURLLoadTiming(PassRefPtr<ResourceLoadTiming> value)
- : private_(value) {}
+ : private_(std::move(value)) {}
WebURLLoadTiming& WebURLLoadTiming::operator=(
PassRefPtr<ResourceLoadTiming> value) {
- private_ = value;
+ private_ = std::move(value);
return *this;
}

Powered by Google App Engine
This is Rietveld 408576698