Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/editing/VisibleSelection.h

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.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/editing/VisibleSelection.h
diff --git a/third_party/WebKit/Source/core/editing/VisibleSelection.h b/third_party/WebKit/Source/core/editing/VisibleSelection.h
index b8b221ca18d062cd1755df936713f3760fff55fa..dcf1ee5659628ad7d8fcb6ccad9922e8ebef596d 100644
--- a/third_party/WebKit/Source/core/editing/VisibleSelection.h
+++ b/third_party/WebKit/Source/core/editing/VisibleSelection.h
@@ -137,12 +137,7 @@ class CORE_TEMPLATE_CLASS_EXPORT VisibleSelectionTemplate {
void setWithoutValidation(const PositionTemplate<Strategy>&,
const PositionTemplate<Strategy>&);
- DEFINE_INLINE_TRACE() {
- visitor->trace(m_base);
- visitor->trace(m_extent);
- visitor->trace(m_start);
- visitor->trace(m_end);
- }
+ DECLARE_TRACE();
void updateIfNeeded();

Powered by Google App Engine