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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp

Issue 2180663002: Replace compileAndRunInternalScript with not internal in DocumentWriteEvaluator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluatorTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
index 8a63309b8128d274da3b5dc24e721e3707d2dffa..fedcd20693f683c1d2fdd1d12acd85ed567ce22b 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
@@ -1110,7 +1110,7 @@ void HTMLDocumentParser::evaluateAndPreloadScriptForDocumentWrite(const String&
double initializationDuration = monotonicallyIncreasingTimeMS() - initializeStartTime;
double startTime = monotonicallyIncreasingTimeMS();
- String writtenSource = m_evaluator->evaluateAndEmitWrittenSource(source);
+ String writtenSource = m_evaluator->evaluateAndEmitWrittenSource(source, document());
double duration = monotonicallyIncreasingTimeMS() - startTime;
int currentPreloadCount = document()->loader()->fetcher()->countPreloads();
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluatorTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698