Index: third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.cpp |
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.cpp b/third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.cpp |
index 5884247d8362b2d81055e8c13d5faa7d2a0305cf..1b94d33abc3e4bea927f444a3324cf0fb77a475e 100644 |
--- a/third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.cpp |
+++ b/third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.cpp |
@@ -339,8 +339,8 @@ |
CHECK_EQ(pending_script->GetScriptType(), ScriptType::kClassic); |
if (!pending_script->ErrorOccurred()) { |
- EmitWarningForDocWriteScripts( |
- pending_script->UrlForClassicScript().GetString(), *document_); |
+ EmitWarningForDocWriteScripts(pending_script->Url().GetString(), |
+ *document_); |
return; |
} |
@@ -348,8 +348,7 @@ |
// ERR_CACHE_MISS but other errors are rare with |
// WebCachePolicy::ReturnCacheDataDontLoad. |
- EmitErrorForDocWriteScripts(pending_script->UrlForClassicScript().GetString(), |
- *document_); |
+ EmitErrorForDocWriteScripts(pending_script->Url().GetString(), *document_); |
TextPosition starting_position = ParserBlockingScript()->StartingPosition(); |
bool is_parser_inserted = script_loader->IsParserInserted(); |
// Remove this resource entry from memory cache as the new request |