Index: sky/engine/core/html/HTMLTitleElement.cpp |
diff --git a/sky/engine/core/html/HTMLTitleElement.cpp b/sky/engine/core/html/HTMLTitleElement.cpp |
index ca7e43229a668bca7db3a8849da40696af18f735..e2419cc48a0d1a6470b6cda8f22fba15df201f57 100644 |
--- a/sky/engine/core/html/HTMLTitleElement.cpp |
+++ b/sky/engine/core/html/HTMLTitleElement.cpp |
@@ -86,7 +86,7 @@ void HTMLTitleElement::setText(const String &value) |
m_ignoreTitleUpdatesWhenChildrenChange = false; |
if (!value.isEmpty()) |
- appendChild(document().createTextNode(value.impl()), IGNORE_EXCEPTION); |
+ appendChild(Text::create(document(), value.impl()), IGNORE_EXCEPTION); |
} |
} |