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

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

Issue 795463006: Rename ReadableStream.wait() to ReadableStream.ready. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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/core/streams/ReadableStream.h
diff --git a/Source/core/streams/ReadableStream.h b/Source/core/streams/ReadableStream.h
index ea9a932023075981b527af3e4c03aee903258d2f..0584a046005fd9d617ce6168ab6b475d5bd8ce3f 100644
--- a/Source/core/streams/ReadableStream.h
+++ b/Source/core/streams/ReadableStream.h
@@ -46,7 +46,7 @@ public:
String stateString() const;
virtual ScriptValue read(ScriptState*, ExceptionState&) = 0;
- ScriptPromise wait(ScriptState*);
+ ScriptPromise ready(ScriptState*);
ScriptPromise cancel(ScriptState*, ScriptValue reason);
ScriptPromise closed(ScriptState*);
@@ -81,7 +81,7 @@ private:
bool m_isPulling;
State m_state;
- Member<WaitPromise> m_wait;
+ Member<WaitPromise> m_ready;
Member<ClosedPromise> m_closed;
RefPtrWillBeMember<DOMException> m_exception;
};
« no previous file with comments | « LayoutTests/http/tests/xmlhttprequest/resources/response-stream-abort.js ('k') | Source/core/streams/ReadableStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698