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

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

Issue 2790313004: Move ScriptState::domWindow() (Closed)
Patch Set: Rebase again Created 3 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/modules/sensor/Sensor.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webaudio/AudioContext.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioContext.cpp b/third_party/WebKit/Source/modules/webaudio/AudioContext.cpp
index 4813a821ca2a026289282b9bd70bfca354b2ad3d..adc958da8b0a57eb4eca6c35132ec85017c9577b 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioContext.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/AudioContext.cpp
@@ -178,7 +178,7 @@ ScriptPromise AudioContext::resumeContext(ScriptState* scriptState) {
void AudioContext::getOutputTimestamp(ScriptState* scriptState,
AudioTimestamp& result) {
DCHECK(isMainThread());
- LocalDOMWindow* window = scriptState->domWindow();
+ LocalDOMWindow* window = LocalDOMWindow::from(scriptState);
if (!window)
return;
« no previous file with comments | « third_party/WebKit/Source/modules/sensor/Sensor.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698