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); |