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

Unified Diff: third_party/WebKit/Source/core/editing/VisibleSelection.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/VisibleSelection.cpp
diff --git a/third_party/WebKit/Source/core/editing/VisibleSelection.cpp b/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
index 597d6364ecced454d751de46af63834caf06792b..93a33918ea786837abb6554909c17aab4b78dc89 100644
--- a/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
+++ b/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
@@ -778,6 +778,14 @@ bool VisibleSelectionTemplate<Strategy>::operator==(
return equalSelectionsAlgorithm<Strategy>(*this, other);
}
+template <typename Strategy>
+DEFINE_TRACE(VisibleSelectionTemplate<Strategy>) {
+ visitor->trace(m_base);
+ visitor->trace(m_extent);
+ visitor->trace(m_start);
+ visitor->trace(m_end);
+}
+
#ifndef NDEBUG
template <typename Strategy>

Powered by Google App Engine
This is Rietveld 408576698