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

Unified Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.h

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/core/frame/LocalDOMWindow.h
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
index 2e8092195d2007a77b03c818f595940bde56bfc0..1c60362bffc7f7df33f3847d5e3a98faed3fcb61 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
@@ -100,6 +100,8 @@ class CORE_EXPORT LocalDOMWindow final : public DOMWindow,
return new LocalDOMWindow(frame);
}
+ static LocalDOMWindow* from(const ScriptState*);
+
~LocalDOMWindow() override;
LocalFrame* frame() const { return toLocalFrame(DOMWindow::frame()); }
« no previous file with comments | « third_party/WebKit/Source/core/events/Event.cpp ('k') | third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698