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

Unified Diff: Source/wtf/RawPtr.h

Issue 157623002: Revert of 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
« no previous file with comments | « Source/modules/encoding/TextEncoder.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/RawPtr.h
diff --git a/Source/wtf/RawPtr.h b/Source/wtf/RawPtr.h
index 6fdc83de5ac9cc43355554ecb8852390ff86fb17..ee8f8f26186a7327afb76e295af3acfbfda420f1 100644
--- a/Source/wtf/RawPtr.h
+++ b/Source/wtf/RawPtr.h
@@ -53,7 +53,7 @@
T* get() const { return m_ptr; }
// FIXME: oilpan: Remove this once we remove RefPtrWillBeRawPtr.
- RawPtr<T> release() const { return *this; }
+ T* release() const { return m_ptr; }
void clear() { m_ptr = 0; }
RawPtr& operator=(T* ptr)
« no previous file with comments | « Source/modules/encoding/TextEncoder.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698