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

Unified Diff: Source/modules/fetch/BodyStreamBuffer.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/modules/fetch/Body.cpp ('k') | Source/modules/fetch/BodyStreamBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/fetch/BodyStreamBuffer.h
diff --git a/Source/modules/fetch/BodyStreamBuffer.h b/Source/modules/fetch/BodyStreamBuffer.h
index b14a36f84cc68502de6e9a240a887605a1f625c1..f7d37a16f7d5640feaba7785dd73257f32a98b8f 100644
--- a/Source/modules/fetch/BodyStreamBuffer.h
+++ b/Source/modules/fetch/BodyStreamBuffer.h
@@ -38,7 +38,7 @@ public:
public:
virtual ~BlobHandleCreatorClient() { }
virtual void didCreateBlobHandle(PassRefPtr<BlobDataHandle>) = 0;
- virtual void didFail(PassRefPtrWillBeRawPtr<DOMException>) = 0;
+ virtual void didFail(DOMException*) = 0;
DEFINE_INLINE_VIRTUAL_TRACE() { }
};
explicit BodyStreamBuffer(Canceller*);
@@ -47,14 +47,14 @@ public:
PassRefPtr<DOMArrayBuffer> read();
bool isClosed() const { return m_isClosed; }
bool hasError() const { return m_exception; }
- PassRefPtrWillBeRawPtr<DOMException> exception() const { return m_exception; }
+ DOMException* exception() const { return m_exception; }
// Can't call after close() or error() was called.
void write(PassRefPtr<DOMArrayBuffer>);
// Can't call after close() or error() was called.
void close();
// Can't call after close() or error() was called.
- void error(PassRefPtrWillBeRawPtr<DOMException>);
+ void error(DOMException*);
void cancel() { m_canceller->cancel(); }
// This function registers an observer so it fails and returns false when an
@@ -74,7 +74,7 @@ public:
private:
Deque<RefPtr<DOMArrayBuffer>> m_queue;
bool m_isClosed;
- RefPtrWillBeMember<DOMException> m_exception;
+ Member<DOMException> m_exception;
Member<Observer> m_observer;
Member<Canceller> m_canceller;
};
« no previous file with comments | « Source/modules/fetch/Body.cpp ('k') | Source/modules/fetch/BodyStreamBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698