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

Unified Diff: third_party/WebKit/Source/core/streams/ReadableStreamImpl.h

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 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: third_party/WebKit/Source/core/streams/ReadableStreamImpl.h
diff --git a/third_party/WebKit/Source/core/streams/ReadableStreamImpl.h b/third_party/WebKit/Source/core/streams/ReadableStreamImpl.h
index 970491164ffee08ac695dae9f47137537ae9b944..aeb47f64770b8769b1b2e235d6dd67eeba97ea2e 100644
--- a/third_party/WebKit/Source/core/streams/ReadableStreamImpl.h
+++ b/third_party/WebKit/Source/core/streams/ReadableStreamImpl.h
@@ -139,7 +139,7 @@ private:
void resolveAllPendingReadsAsDone() override
{
for (auto& resolver : m_pendingReads) {
- ScriptState* scriptState = resolver->scriptState();
+ ScriptState* scriptState = resolver->getScriptState();
if (!scriptState->contextIsValid())
continue;
ScriptState::Scope scope(scriptState);
@@ -181,7 +181,7 @@ bool ReadableStreamImpl<ChunkTypeTraits>::enqueue(typename ChunkTypeTraits::Pass
}
ScriptPromiseResolver* resolver = m_pendingReads.takeFirst();
- ScriptState* scriptState = resolver->scriptState();
+ ScriptState* scriptState = resolver->getScriptState();
if (!scriptState->contextIsValid())
return false;
ScriptState::Scope scope(scriptState);

Powered by Google App Engine
This is Rietveld 408576698