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

Unified Diff: third_party/WebKit/Source/core/editing/VisiblePosition.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/VisiblePosition.cpp
diff --git a/third_party/WebKit/Source/core/editing/VisiblePosition.cpp b/third_party/WebKit/Source/core/editing/VisiblePosition.cpp
index 70f54413cf818e9f4ed4e1065f3651cbe03b734c..caea127a4c3d7927b0ab260e9a281ab44f5781a0 100644
--- a/third_party/WebKit/Source/core/editing/VisiblePosition.cpp
+++ b/third_party/WebKit/Source/core/editing/VisiblePosition.cpp
@@ -66,6 +66,11 @@ VisiblePositionTemplate<Strategy>::VisiblePositionTemplate(
}
template <typename Strategy>
+DEFINE_TRACE(VisiblePositionTemplate<Strategy>) {
+ visitor->trace(m_positionWithAffinity);
+}
+
+template <typename Strategy>
VisiblePositionTemplate<Strategy> VisiblePositionTemplate<Strategy>::create(
const PositionWithAffinityTemplate<Strategy>& positionWithAffinity) {
if (positionWithAffinity.isNull())

Powered by Google App Engine
This is Rietveld 408576698