| Index: third_party/WebKit/Source/core/dom/ScriptLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/ScriptLoader.cpp b/third_party/WebKit/Source/core/dom/ScriptLoader.cpp
|
| index 9179821952ff92e7c1ba8dd44df7ca2df40be32d..38c70e975725dbf40c762806dc442c0c76594bda 100644
|
| --- a/third_party/WebKit/Source/core/dom/ScriptLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/ScriptLoader.cpp
|
| @@ -344,8 +344,7 @@ bool ScriptLoader::PrepareScript(const TextPosition& script_start_position,
|
| is_external_script_ = true;
|
|
|
| // 21.4. "Parse src relative to the element's node document."
|
| - // TODO(hiroshige): Use CompleteURL(src) instead.
|
| - KURL url = element_document.CompleteURL(element_->SourceAttributeValue());
|
| + KURL url = element_document.CompleteURL(src);
|
|
|
| // 21.5. "If the previous step failed, queue a task to
|
| // fire an event named error at the element, and abort these steps."
|
|
|