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

Unified Diff: Source/core/rendering/RenderListItem.cpp

Issue 241713002: Remove some dead code from rendering/ folder (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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/rendering/RenderListItem.h ('k') | Source/core/rendering/RenderRubyBase.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderListItem.cpp
diff --git a/Source/core/rendering/RenderListItem.cpp b/Source/core/rendering/RenderListItem.cpp
index a898378a7c3f5a532e387c51d0115d8d0c6d595e..e367592bcc043816b86584bd11c7394dab749235 100644
--- a/Source/core/rendering/RenderListItem.cpp
+++ b/Source/core/rendering/RenderListItem.cpp
@@ -441,29 +441,6 @@ const String& RenderListItem::markerText() const
return nullAtom.string();
}
-String RenderListItem::markerTextWithSuffix() const
-{
- if (!m_marker)
- return String();
-
- // Append the suffix for the marker in the right place depending
- // on the direction of the text (right-to-left or left-to-right).
-
- const String& markerText = m_marker->text();
- const String markerSuffix = m_marker->suffix();
- StringBuilder result;
-
- if (!m_marker->style()->isLeftToRightDirection())
- result.append(markerSuffix);
-
- result.append(markerText);
-
- if (m_marker->style()->isLeftToRightDirection())
- result.append(markerSuffix);
-
- return result.toString();
-}
-
void RenderListItem::explicitValueChanged()
{
if (m_marker)
« no previous file with comments | « Source/core/rendering/RenderListItem.h ('k') | Source/core/rendering/RenderRubyBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698