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

Unified Diff: third_party/WebKit/Source/core/editing/PositionWithAffinity.cpp

Issue 2672413003: Out-of-line trace() methods of editing template types. (Closed)
Patch Set: Created 3 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
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())

Powered by Google App Engine
This is Rietveld 408576698