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

Unified Diff: third_party/WebKit/Source/core/editing/SelectionTemplate.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. 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/SelectionTemplate.h
diff --git a/third_party/WebKit/Source/core/editing/SelectionTemplate.h b/third_party/WebKit/Source/core/editing/SelectionTemplate.h
index 78dd1843ac9af89260b2aed1c3e2d322019e171a..ae04d0d868cca37eca1b86650335516d362bb355 100644
--- a/third_party/WebKit/Source/core/editing/SelectionTemplate.h
+++ b/third_party/WebKit/Source/core/editing/SelectionTemplate.h
@@ -96,10 +96,7 @@ class CORE_EXPORT SelectionTemplate final {
bool assertValid() const;
bool assertValidFor(const Document&) const;
- DEFINE_INLINE_TRACE() {
- visitor->trace(m_base);
- visitor->trace(m_extent);
- }
+ DECLARE_TRACE();
void printTo(std::ostream*, const char* type) const;
#ifndef NDEBUG

Powered by Google App Engine
This is Rietveld 408576698