diff options
Diffstat (limited to 'WebCore/bindings/cpp/WebDOMHTMLDocumentCustom.cpp')
-rw-r--r-- | WebCore/bindings/cpp/WebDOMHTMLDocumentCustom.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/WebCore/bindings/cpp/WebDOMHTMLDocumentCustom.cpp b/WebCore/bindings/cpp/WebDOMHTMLDocumentCustom.cpp index 3bab0c1..d608b0f 100644 --- a/WebCore/bindings/cpp/WebDOMHTMLDocumentCustom.cpp +++ b/WebCore/bindings/cpp/WebDOMHTMLDocumentCustom.cpp @@ -25,11 +25,13 @@ #include "SegmentedString.h" #include "WebExceptionHandler.h" +#include <wtf/Forward.h> + static inline void documentWrite(const WebDOMString& text, WebCore::HTMLDocument* document, bool addNewline) { WebCore::SegmentedString segmentedString = WTF::String(text); if (addNewline) - segmentedString.append(WebCore::SegmentedString(&WebCore::newlineCharacter, 1)); + segmentedString.append(WebCore::SegmentedString(WTF::String(&WebCore::newlineCharacter))); document->write(segmentedString); } |