| Index: sky/engine/bindings/core/v8/ScriptController.cpp
|
| diff --git a/sky/engine/bindings/core/v8/ScriptController.cpp b/sky/engine/bindings/core/v8/ScriptController.cpp
|
| index af3e490d95abd4d6608a63dbdd9a5b2cf992b27a..db558ee2bc6c1c37b9701fabdbc9a27c0cf93f85 100644
|
| --- a/sky/engine/bindings/core/v8/ScriptController.cpp
|
| +++ b/sky/engine/bindings/core/v8/ScriptController.cpp
|
| @@ -353,8 +353,8 @@ void ScriptController::executeModuleScript(Document& document, const String& sou
|
|
|
| if (HTMLImport* parent = document.import()) {
|
| for (HTMLImport* child = parent->firstChild(); child; child = child->next()) {
|
| - if (HTMLLinkElement* link = static_cast<HTMLImportChild*>(child)->link()) {
|
| - String name = link->as();
|
| + if (Element* link = static_cast<HTMLImportChild*>(child)->link()) {
|
| + String name = link->getAttribute(HTMLNames::asAttr);
|
| if (!name.isEmpty()) {
|
| module.formalDependencies.append(name);
|
| v8::Handle<v8::Value> actual;
|
|
|