Index: third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp |
diff --git a/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp b/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp |
index cf61288c02652c5ddea7bdd8b5ab02914b70e4f7..fbf90f8e91b377b04d600dd0541c95c3d1b0a99a 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp |
+++ b/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp |
@@ -635,7 +635,7 @@ void AbstractAudioContext::setContextState(AudioContextState newState) |
// Notify context that state changed |
if (executionContext()) |
- executionContext()->postTask(FROM_HERE, createSameThreadTask(&AbstractAudioContext::notifyStateChange, this)); |
+ executionContext()->postTask(BLINK_FROM_HERE, createSameThreadTask(&AbstractAudioContext::notifyStateChange, this)); |
} |
void AbstractAudioContext::notifyStateChange() |
@@ -765,7 +765,7 @@ void AbstractAudioContext::resolvePromisesForResume() |
// promises in the main thread. |
if (!m_isResolvingResumePromises && m_resumeResolvers.size() > 0) { |
m_isResolvingResumePromises = true; |
- Platform::current()->mainThread()->taskRunner()->postTask(FROM_HERE, threadSafeBind(&AbstractAudioContext::resolvePromisesForResumeOnMainThread, this)); |
+ Platform::current()->mainThread()->taskRunner()->postTask(BLINK_FROM_HERE, threadSafeBind(&AbstractAudioContext::resolvePromisesForResumeOnMainThread, this)); |
} |
} |