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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptState.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
Index: third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
index 2c52799590800993fcaf60d17949e19c097f8227..13598e622039215d25a919a983d3fe096b38fef6 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
@@ -6,7 +6,6 @@
#include "bindings/core/v8/V8Binding.h"
#include "core/dom/ExecutionContext.h"
-#include "core/frame/LocalDOMWindow.h"
namespace blink {
@@ -75,9 +74,4 @@ void ScriptState::setExecutionContext(ExecutionContext*) {
ASSERT_NOT_REACHED();
}
-LocalDOMWindow* ScriptState::domWindow() const {
- v8::HandleScope scope(m_isolate);
- return toLocalDOMWindow(context());
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698