diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/editing/HTMLInterchange.cpp')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/editing/HTMLInterchange.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/WebKit/Source/core/editing/HTMLInterchange.cpp b/chromium/third_party/WebKit/Source/core/editing/HTMLInterchange.cpp index c63d98c66c9..7b28f4b6592 100644 --- a/chromium/third_party/WebKit/Source/core/editing/HTMLInterchange.cpp +++ b/chromium/third_party/WebKit/Source/core/editing/HTMLInterchange.cpp @@ -27,17 +27,17 @@ #include "core/editing/HTMLInterchange.h" #include "core/dom/Text.h" -#include "core/editing/TextIterator.h" +#include "core/editing/htmlediting.h" #include "core/rendering/RenderObject.h" #include "wtf/text/StringBuilder.h" #include "wtf/unicode/CharacterNames.h" namespace WebCore { -String convertHTMLTextToInterchangeFormat(const String& in, const Text* node) +String convertHTMLTextToInterchangeFormat(const String& in, const Text& node) { // Assume all the text comes from node. - if (node->renderer() && node->renderer()->style()->preserveNewline()) + if (node.renderer() && node.renderer()->style()->preserveNewline()) return in; const char convertedSpaceString[] = "<span class=\"" AppleConvertedSpace "\">\xA0</span>"; |