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

Unified Diff: Source/core/streams/ReadableStream.h

Issue 1107793002: Oilpan: have DOMException be on the heap by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/dom/DOMException.idl ('k') | Source/core/streams/ReadableStream.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/streams/ReadableStream.h
diff --git a/Source/core/streams/ReadableStream.h b/Source/core/streams/ReadableStream.h
index ecdbcec5502419534de63342a09094011327281e..9cd4a124f09730650c5cf6318a0d1c6411c0853a 100644
--- a/Source/core/streams/ReadableStream.h
+++ b/Source/core/streams/ReadableStream.h
@@ -53,10 +53,10 @@ public:
virtual bool hasPendingReads() const = 0;
virtual void resolveAllPendingReadsAsDone() = 0;
- virtual void rejectAllPendingReads(PassRefPtrWillBeRawPtr<DOMException>) = 0;
+ virtual void rejectAllPendingReads(DOMException*) = 0;
void close();
- void error(PassRefPtrWillBeRawPtr<DOMException>);
+ void error(DOMException*);
void didSourceStart();
@@ -77,8 +77,8 @@ protected:
void readInternalPostAction();
private:
- using WaitPromise = ScriptPromiseProperty<Member<ReadableStream>, ToV8UndefinedGenerator, RefPtrWillBeMember<DOMException>>;
- using ClosedPromise = ScriptPromiseProperty<Member<ReadableStream>, ToV8UndefinedGenerator, RefPtrWillBeMember<DOMException>>;
+ using WaitPromise = ScriptPromiseProperty<Member<ReadableStream>, ToV8UndefinedGenerator, Member<DOMException>>;
+ using ClosedPromise = ScriptPromiseProperty<Member<ReadableStream>, ToV8UndefinedGenerator, Member<DOMException>>;
virtual bool isQueueEmpty() const = 0;
virtual void clearQueue() = 0;
@@ -94,7 +94,7 @@ private:
bool m_isPulling;
State m_state;
- RefPtrWillBeMember<DOMException> m_exception;
+ Member<DOMException> m_exception;
Member<ReadableStreamReader> m_reader;
};
« no previous file with comments | « Source/core/dom/DOMException.idl ('k') | Source/core/streams/ReadableStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698