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

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

Issue 940373003: Rename RenderText to LayoutText (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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/ApplyStyleCommand.cpp ('k') | Source/core/editing/DeleteSelectionCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/CompositeEditCommand.cpp
diff --git a/Source/core/editing/CompositeEditCommand.cpp b/Source/core/editing/CompositeEditCommand.cpp
index f96f95513ba8a695eec60bd92750e832649fb0e0..9935e758745e3008bcc7d87793cdd4c378f3f883 100644
--- a/Source/core/editing/CompositeEditCommand.cpp
+++ b/Source/core/editing/CompositeEditCommand.cpp
@@ -71,8 +71,8 @@
#include "core/html/HTMLSpanElement.h"
#include "core/layout/LayoutBlock.h"
#include "core/layout/LayoutListItem.h"
+#include "core/layout/LayoutText.h"
#include "core/layout/line/InlineTextBox.h"
-#include "core/rendering/RenderText.h"
namespace blink {
@@ -621,7 +621,7 @@ bool CompositeEditCommand::canRebalance(const Position& position) const
if (textNode->length() == 0)
return false;
- RenderText* renderer = textNode->renderer();
+ LayoutText* renderer = textNode->renderer();
if (renderer && !renderer->style()->collapseWhiteSpace())
return false;
@@ -690,7 +690,7 @@ void CompositeEditCommand::prepareWhitespaceAtPositionForSplit(Position& positio
if (textNode->length() == 0)
return;
- RenderText* renderer = textNode->renderer();
+ LayoutText* renderer = textNode->renderer();
if (renderer && !renderer->style()->collapseWhiteSpace())
return;
@@ -733,7 +733,7 @@ void CompositeEditCommand::deleteInsignificantText(PassRefPtrWillBeRawPtr<Text>
document().updateLayout();
- RenderText* textRenderer = textNode->renderer();
+ LayoutText* textRenderer = textNode->renderer();
if (!textRenderer)
return;
« no previous file with comments | « Source/core/editing/ApplyStyleCommand.cpp ('k') | Source/core/editing/DeleteSelectionCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698