Index: third_party/WebKit/Source/platform/exported/WebThreadSafeData.cpp |
diff --git a/third_party/WebKit/Source/platform/exported/WebThreadSafeData.cpp b/third_party/WebKit/Source/platform/exported/WebThreadSafeData.cpp |
index dbfae184b501a498b672e3a0461d11ef89768253..28e2f10bc5a9e07ffe079dd13a839a271de79fd4 100644 |
--- a/third_party/WebKit/Source/platform/exported/WebThreadSafeData.cpp |
+++ b/third_party/WebKit/Source/platform/exported/WebThreadSafeData.cpp |
@@ -60,7 +60,7 @@ const char* WebThreadSafeData::Data() const { |
} |
WebThreadSafeData::WebThreadSafeData(PassRefPtr<RawData> data) |
- : private_(data) {} |
+ : private_(std::move(data)) {} |
WebThreadSafeData::WebThreadSafeData(const WebThreadSafeData& other) { |
private_ = other.private_; |
@@ -73,7 +73,7 @@ WebThreadSafeData& WebThreadSafeData::operator=( |
} |
WebThreadSafeData& WebThreadSafeData::operator=(PassRefPtr<RawData> data) { |
- private_ = data; |
+ private_ = std::move(data); |
return *this; |
} |