| Index: Source/core/html/HTMLTitleElement.cpp
|
| diff --git a/Source/core/html/HTMLTitleElement.cpp b/Source/core/html/HTMLTitleElement.cpp
|
| index c467796950e4bb7a4801d1c264fd4da01dbb8138..0b5a37c0870f48959661ec245b90ba8f92318a6d 100644
|
| --- a/Source/core/html/HTMLTitleElement.cpp
|
| +++ b/Source/core/html/HTMLTitleElement.cpp
|
| @@ -136,7 +136,7 @@ void HTMLTitleElement::setText(const String &value)
|
| RefPtr<Node> protectFromMutationEvents(this);
|
|
|
| int numChildren = childNodeCount();
|
| -
|
| +
|
| if (numChildren == 1 && firstChild()->isTextNode())
|
| toText(firstChild())->setData(value);
|
| else {
|
|
|