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

Unified Diff: third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.cpp

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/modules/webaudio/ScriptProcessorNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.cpp b/third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.cpp
index 7274ba1d0e680d96cc362cc48ce55a9bd16b0400..b7f78f031c73c135f0af033da4f273d77ae6b38d 100644
--- a/third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.cpp
@@ -161,10 +161,10 @@ void ScriptProcessorHandler::process(size_t framesToProcess)
// We're late in handling the previous request. The main thread must be very busy.
// The best we can do is clear out the buffer ourself here.
outputBuffer->zero();
- } else if (context()->executionContext()) {
+ } else if (context()->getExecutionContext()) {
// Fire the event on the main thread with the appropriate buffer
// index.
- context()->executionContext()->postTask(BLINK_FROM_HERE,
+ context()->getExecutionContext()->postTask(BLINK_FROM_HERE,
createCrossThreadTask(&ScriptProcessorHandler::fireProcessEvent, this, m_doubleBufferIndex));
}
@@ -187,7 +187,7 @@ void ScriptProcessorHandler::fireProcessEvent(unsigned doubleBufferIndex)
return;
// Avoid firing the event if the document has already gone away.
- if (node() && context() && context()->executionContext()) {
+ if (node() && context() && context()->getExecutionContext()) {
// This synchronizes with process().
MutexLocker processLocker(m_processEventLock);

Powered by Google App Engine
This is Rietveld 408576698