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

Unified Diff: Source/core/editing/iterators/SimplifiedBackwardsTextIterator.cpp

Issue 931003002: Move and rename RenderPart to LayoutPart. (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/FrameSelection.cpp ('k') | Source/core/editing/iterators/TextIterator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/iterators/SimplifiedBackwardsTextIterator.cpp
diff --git a/Source/core/editing/iterators/SimplifiedBackwardsTextIterator.cpp b/Source/core/editing/iterators/SimplifiedBackwardsTextIterator.cpp
index b4d539e569d762601049b5a911cddbabcb3e7784..17bf5db0d508e50d214de8bf5ce1bf3962ac819e 100644
--- a/Source/core/editing/iterators/SimplifiedBackwardsTextIterator.cpp
+++ b/Source/core/editing/iterators/SimplifiedBackwardsTextIterator.cpp
@@ -190,7 +190,7 @@ void SimplifiedBackwardsTextIterator::advance()
// FIXME: What about CDATA_SECTION_NODE?
if (renderer->style()->visibility() == VISIBLE && m_offset > 0)
m_handledNode = handleTextNode();
- } else if (renderer && (renderer->isRenderPart() || TextIterator::supportsAltText(m_node))) {
+ } else if (renderer && (renderer->isLayoutPart() || TextIterator::supportsAltText(m_node))) {
if (renderer->style()->visibility() == VISIBLE && m_offset > 0)
m_handledNode = handleReplacedElement();
} else {
« no previous file with comments | « Source/core/editing/FrameSelection.cpp ('k') | Source/core/editing/iterators/TextIterator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698