Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(664)

Unified Diff: Source/core/editing/HTMLInterchange.cpp

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>";

Powered by Google App Engine
This is Rietveld 408576698