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

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

Issue 2796653003: Move ScriptState::forWorld/ScriptState::forMainWorld (Part 2) (Closed)
Patch Set: Rebase 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
Index: third_party/WebKit/Source/modules/webaudio/BaseAudioContextTest.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/BaseAudioContextTest.cpp b/third_party/WebKit/Source/modules/webaudio/BaseAudioContextTest.cpp
index 0d9905c05942567c38ba21283067df92b96a2f89..3aeb54c45b0950a2fdfcb2faacb2c8166e3b4245 100644
--- a/third_party/WebKit/Source/modules/webaudio/BaseAudioContextTest.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/BaseAudioContextTest.cpp
@@ -4,6 +4,7 @@
#include "modules/webaudio/BaseAudioContext.h"
+#include "bindings/core/v8/V8Binding.h"
#include "core/dom/Document.h"
#include "core/dom/DocumentUserGestureToken.h"
#include "core/frame/FrameOwner.h"
@@ -113,7 +114,7 @@ class BaseAudioContextTest : public ::testing::Test {
Document& childDocument() { return *m_childFrame->document(); }
ScriptState* getScriptStateFrom(const Document& document) {
- return ScriptState::forMainWorld(document.frame());
+ return toScriptStateForMainWorld(document.frame());
}
void rejectPendingResolvers(BaseAudioContext* audioContext) {

Powered by Google App Engine
This is Rietveld 408576698