Index: Source/core/dom/Position.h |
diff --git a/Source/core/dom/Position.h b/Source/core/dom/Position.h |
index 4ed91bbe69b04c8f9c909c9880f13bf21f1d27e7..90d216bd45cd95d24821ce700da5cd8b6f00daa3 100644 |
--- a/Source/core/dom/Position.h |
+++ b/Source/core/dom/Position.h |
@@ -310,33 +310,6 @@ inline bool offsetIsBeforeLastNodeOffset(int offset, Node* anchorNode) |
return offset < currentOffset; |
} |
-class PositionWithAffinity { |
- DISALLOW_ALLOCATION(); |
-public: |
- PositionWithAffinity() |
- : m_affinity(DOWNSTREAM) |
- { |
- } |
- |
- PositionWithAffinity(const Position& position, EAffinity affinity = DOWNSTREAM) |
- : m_position(position) |
- , m_affinity(affinity) |
- { |
- } |
- |
- EAffinity affinity() const { return m_affinity; } |
- const Position& position() const { return m_position; } |
- |
- void trace(Visitor* visitor) |
- { |
- visitor->trace(m_position); |
- } |
- |
-private: |
- Position m_position; |
- EAffinity m_affinity; |
-}; |
- |
} // namespace WebCore |
#ifndef NDEBUG |