Index: Source/core/editing/HTMLInterchange.cpp |
diff --git a/Source/core/editing/HTMLInterchange.cpp b/Source/core/editing/HTMLInterchange.cpp |
index 01f6742571418f5adc309ec60acecf4be017f355..0194556908739c608c236def9de22c0b90700e59 100644 |
--- a/Source/core/editing/HTMLInterchange.cpp |
+++ b/Source/core/editing/HTMLInterchange.cpp |
@@ -38,7 +38,7 @@ namespace blink { |
String convertHTMLTextToInterchangeFormat(const String& in, const Text& node) |
{ |
// Assume all the text comes from node. |
- if (node.renderer() && node.renderer()->style()->preserveNewline()) |
+ if (node.layoutObject() && node.layoutObject()->style()->preserveNewline()) |
return in; |
const char convertedSpaceString[] = "<span class=\"" AppleConvertedSpace "\">\xA0</span>"; |