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

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: Use a static world stack instead of a per-world private field 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 7b71d0cbec098deda5a83b2508288c8200c4fe0a..50562440c8517bf57daf06a2a6cdb95bfe000608 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"
@@ -105,6 +106,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