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

Unified Diff: third_party/WebKit/Source/platform/wtf/RefPtr.h

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/wtf/RefPtr.h
diff --git a/third_party/WebKit/Source/platform/wtf/RefPtr.h b/third_party/WebKit/Source/platform/wtf/RefPtr.h
index 01856fc7b2b6459a034605c715fa843de03c76b8..d24cf24c33c2508fe6cd5b93fe88361be083b9ae 100644
--- a/third_party/WebKit/Source/platform/wtf/RefPtr.h
+++ b/third_party/WebKit/Source/platform/wtf/RefPtr.h
@@ -80,7 +80,6 @@ class RefPtr {
ALWAYS_INLINE T* Get() const { return ptr_; }
T* LeakRef() WARN_UNUSED_RESULT;
void Clear();
- PassRefPtr<T> Release() WARN_UNUSED_RESULT { return std::move(*this); }
T& operator*() const { return *ptr_; }
ALWAYS_INLINE T* operator->() const { return ptr_; }
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm ('k') | third_party/WebKit/public/platform/WebThreadSafeData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698