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

Unified Diff: Source/core/xml/XMLHttpRequestUpload.h

Issue 316443004: Oilpan: Remove ref counting from EventTarget and all uses of Pass/RefPtr<EventTarget>. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 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
« no previous file with comments | « Source/core/page/EventHandler.cpp ('k') | Source/modules/indexeddb/IDBEventDispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XMLHttpRequestUpload.h
diff --git a/Source/core/xml/XMLHttpRequestUpload.h b/Source/core/xml/XMLHttpRequestUpload.h
index 65e17e2bc5fdedf5f3a345d31fd10820aa2fe623..451a32301639c0d18c88c00e3d2693b6fac9d05a 100644
--- a/Source/core/xml/XMLHttpRequestUpload.h
+++ b/Source/core/xml/XMLHttpRequestUpload.h
@@ -51,10 +51,7 @@ public:
return adoptPtrWillBeRefCountedGarbageCollected(new XMLHttpRequestUpload(xmlHttpRequest));
}
-#if ENABLE(OILPAN)
- using RefCountedGarbageCollected::ref;
- using RefCountedGarbageCollected::deref;
-#else
+#if !ENABLE(OILPAN)
void ref() { m_xmlHttpRequest->ref(); }
void deref() { m_xmlHttpRequest->deref(); }
#endif
@@ -74,8 +71,10 @@ public:
private:
explicit XMLHttpRequestUpload(XMLHttpRequest*);
+#if !ENABLE(OILPAN)
virtual void refEventTarget() OVERRIDE { ref(); }
virtual void derefEventTarget() OVERRIDE { deref(); }
+#endif
RawPtrWillBeMember<XMLHttpRequest> m_xmlHttpRequest;
EventTargetData m_eventTargetData;
« no previous file with comments | « Source/core/page/EventHandler.cpp ('k') | Source/modules/indexeddb/IDBEventDispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698