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

Unified Diff: third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp

Issue 1814853003: Track whether an element was inserted via document.write (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on #384935 Created 4 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/dom/ScriptRunnerTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp b/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp
index c21f690b749f1ce9fc0d8b18ec40ec46d14a1aff..36284255321ea13373cc9b620fa30d05e0c8b2e0 100644
--- a/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp
+++ b/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp
@@ -34,7 +34,8 @@ public:
MOCK_METHOD0(execute, void());
MOCK_CONST_METHOD0(isReady, bool());
private:
- explicit MockScriptLoader(Element* element) : ScriptLoader(element, false, false)
+ explicit MockScriptLoader(Element* element)
+ : ScriptLoader(element, ElementConstructionContextFlags::DefaultContext)
{
}
};

Powered by Google App Engine
This is Rietveld 408576698