| Index: Source/core/html/HTMLElement.cpp
|
| diff --git a/Source/core/html/HTMLElement.cpp b/Source/core/html/HTMLElement.cpp
|
| index 518baf4990539679d1a49a883b5875c8b18c8d3d..6be22807829e8eb99301a3851d72d0e749698202 100644
|
| --- a/Source/core/html/HTMLElement.cpp
|
| +++ b/Source/core/html/HTMLElement.cpp
|
| @@ -379,12 +379,12 @@ PassRefPtr<DocumentFragment> HTMLElement::textToFragment(const String& text, Exc
|
| break;
|
| }
|
|
|
| - fragment->appendChild(Text::create(document(), text.substring(start, i - start)), es);
|
| + fragment->appendChild(Text::create(document(), text.substring(start, i - start)), es, DeprecatedAttachNow);
|
| if (es.hadException())
|
| return 0;
|
|
|
| if (c == '\r' || c == '\n') {
|
| - fragment->appendChild(HTMLBRElement::create(document()), es);
|
| + fragment->appendChild(HTMLBRElement::create(document()), es, DeprecatedAttachNow);
|
| if (es.hadException())
|
| return 0;
|
| // Make sure \r\n doesn't result in two line breaks.
|
|
|