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

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

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/core/editing/iterators/TextIterator.cpp ('k') | Source/core/events/MouseRelatedEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/markup.cpp
diff --git a/Source/core/editing/markup.cpp b/Source/core/editing/markup.cpp
index 7214d05946e0e5e30507fe6c5d407615235e859a..6ac5583ec1525b5dd16b5ea37a5ba9ef41f33369 100644
--- a/Source/core/editing/markup.cpp
+++ b/Source/core/editing/markup.cpp
@@ -62,7 +62,7 @@
#include "core/html/HTMLTableCellElement.h"
#include "core/html/HTMLTableElement.h"
#include "core/html/HTMLTextFormControlElement.h"
-#include "core/rendering/RenderObject.h"
+#include "core/layout/LayoutObject.h"
#include "platform/weborigin/KURL.h"
#include "wtf/StdLibExtras.h"
#include "wtf/text/StringBuilder.h"
@@ -819,12 +819,12 @@ bool isPlainTextMarkup(Node* node)
static bool shouldPreserveNewline(const Range& range)
{
if (Node* node = range.firstNode()) {
- if (RenderObject* renderer = node->renderer())
+ if (LayoutObject* renderer = node->renderer())
return renderer->style()->preserveNewline();
}
if (Node* node = range.startPosition().anchorNode()) {
- if (RenderObject* renderer = node->renderer())
+ if (LayoutObject* renderer = node->renderer())
return renderer->style()->preserveNewline();
}
« no previous file with comments | « Source/core/editing/iterators/TextIterator.cpp ('k') | Source/core/events/MouseRelatedEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698