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

Unified Diff: third_party/WebKit/Source/core/dom/ScriptLoader.h

Issue 1615523002: Transitively keep track of an isolated world's children scripts and worlds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/dom/ScriptLoader.h
diff --git a/third_party/WebKit/Source/core/dom/ScriptLoader.h b/third_party/WebKit/Source/core/dom/ScriptLoader.h
index 6b53a6656812d0dddcb6820ace7ca86db20bc008..32830142676073686c5f15ef2d376332c3b2bd6e 100644
--- a/third_party/WebKit/Source/core/dom/ScriptLoader.h
+++ b/third_party/WebKit/Source/core/dom/ScriptLoader.h
@@ -21,6 +21,7 @@
#ifndef ScriptLoader_h
#define ScriptLoader_h
+#include "bindings/core/v8/DOMWrapperWorld.h"
#include "core/CoreExport.h"
#include "core/dom/PendingScript.h"
#include "core/fetch/FetchRequest.h"
@@ -104,6 +105,7 @@ private:
RawPtrWillBeMember<Element> m_element;
ResourcePtr<ScriptResource> m_resource;
+ RefPtr<DOMWrapperWorld> m_originWorld;
WTF::OrdinalNumber m_startLineNumber;
String m_characterEncoding;
String m_fallbackCharacterEncoding;

Powered by Google App Engine
This is Rietveld 408576698