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

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

Issue 2949103006: Removed RefPtr::Release. (Closed)
Patch Set: Removed Release from mac specific code Created 3 years, 6 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/WebThreadSafeData.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebThreadSafeData.cpp b/third_party/WebKit/Source/platform/exported/WebThreadSafeData.cpp
index 28e2f10bc5a9e07ffe079dd13a839a271de79fd4..b9b090061ff5e680dcd003bdc948dfc6126a5bf1 100644
--- a/third_party/WebKit/Source/platform/exported/WebThreadSafeData.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebThreadSafeData.cpp
@@ -62,6 +62,9 @@ const char* WebThreadSafeData::Data() const {
WebThreadSafeData::WebThreadSafeData(PassRefPtr<RawData> data)
: private_(std::move(data)) {}
+WebThreadSafeData::WebThreadSafeData(RefPtr<RawData>&& data)
+ : private_(std::move(data)) {}
+
WebThreadSafeData::WebThreadSafeData(const WebThreadSafeData& other) {
private_ = other.private_;
}

Powered by Google App Engine
This is Rietveld 408576698