Index: third_party/WebKit/Source/core/editing/PositionWithAffinity.cpp |
diff --git a/third_party/WebKit/Source/core/editing/PositionWithAffinity.cpp b/third_party/WebKit/Source/core/editing/PositionWithAffinity.cpp |
index 2f67b9532ca1690d44a3a0b7367eb353af17fcfb..b9f0a39f0f3d2cad8a4ee65afe258ddcefce0c9c 100644 |
--- a/third_party/WebKit/Source/core/editing/PositionWithAffinity.cpp |
+++ b/third_party/WebKit/Source/core/editing/PositionWithAffinity.cpp |
@@ -20,6 +20,11 @@ template <typename Strategy> |
PositionWithAffinityTemplate<Strategy>::~PositionWithAffinityTemplate() {} |
template <typename Strategy> |
+DEFINE_TRACE(PositionWithAffinityTemplate<Strategy>) { |
+ visitor->trace(m_position); |
+} |
+ |
+template <typename Strategy> |
bool PositionWithAffinityTemplate<Strategy>::operator==( |
const PositionWithAffinityTemplate& other) const { |
if (isNull()) |