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

Unified Diff: Source/wtf/RawPtr.h

Issue 156453002: Move encoding module to oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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: Source/wtf/RawPtr.h
diff --git a/Source/wtf/RawPtr.h b/Source/wtf/RawPtr.h
index ee8f8f26186a7327afb76e295af3acfbfda420f1..6fdc83de5ac9cc43355554ecb8852390ff86fb17 100644
--- a/Source/wtf/RawPtr.h
+++ b/Source/wtf/RawPtr.h
@@ -53,7 +53,7 @@ public:
T* get() const { return m_ptr; }
// FIXME: oilpan: Remove this once we remove RefPtrWillBeRawPtr.
- T* release() const { return m_ptr; }
+ RawPtr<T> release() const { return *this; }
void clear() { m_ptr = 0; }
RawPtr& operator=(T* ptr)
« Source/modules/encoding/TextEncoder.h ('K') | « Source/modules/encoding/TextEncoder.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698