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

Unified Diff: Source/core/editing/Position.h

Issue 1303673002: Get rid of unused member function rootEditableElement() in PositionAlgorithm<Strategy> template clas (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-19T14:03:30 Created 5 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/Position.h
diff --git a/Source/core/editing/Position.h b/Source/core/editing/Position.h
index a0da64b8fe62b99b753cfd008300a0748d6508fb..492304b6250c1c94a5567fc8190903ae3f4898c3 100644
--- a/Source/core/editing/Position.h
+++ b/Source/core/editing/Position.h
@@ -160,11 +160,6 @@ public:
Document* document() const { return m_anchorNode ? &m_anchorNode->document() : 0; }
bool inDocument() const { return m_anchorNode && m_anchorNode->inDocument(); }
- Element* rootEditableElement() const
- {
- Node* container = computeContainerNode();
- return container ? container->rootEditableElement() : 0;
- }
bool isNull() const { return !m_anchorNode; }
bool isNotNull() const { return m_anchorNode; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698