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

Unified Diff: Source/core/editing/SplitTextNodeContainingElementCommand.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/SimplifyMarkupCommand.cpp ('k') | Source/core/editing/TypingCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/SplitTextNodeContainingElementCommand.cpp
diff --git a/Source/core/editing/SplitTextNodeContainingElementCommand.cpp b/Source/core/editing/SplitTextNodeContainingElementCommand.cpp
index 4d5b5ba62c2e94a6a8b2f56f2ffe06d89ae4e52c..deadc9dae5324a0213fe5e3c91c60419cbaada4a 100644
--- a/Source/core/editing/SplitTextNodeContainingElementCommand.cpp
+++ b/Source/core/editing/SplitTextNodeContainingElementCommand.cpp
@@ -28,7 +28,7 @@
#include "core/dom/Element.h"
#include "core/dom/Text.h"
-#include "core/rendering/RenderObject.h"
+#include "core/layout/LayoutObject.h"
#include "wtf/Assertions.h"
namespace blink {
@@ -51,7 +51,7 @@ void SplitTextNodeContainingElementCommand::doApply()
if (!parent || !parent->parentElement() || !parent->parentElement()->hasEditableStyle())
return;
- RenderObject* parentRenderer = parent->renderer();
+ LayoutObject* parentRenderer = parent->renderer();
if (!parentRenderer || !parentRenderer->isInline()) {
wrapContentsInDummySpan(parent);
Node* firstChild = parent->firstChild();
« no previous file with comments | « Source/core/editing/SimplifyMarkupCommand.cpp ('k') | Source/core/editing/TypingCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698