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

Unified Diff: Source/core/dom/Position.h

Issue 1075123002: Oilpan: fix build after r193519. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | Source/core/dom/Position.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Position.h
diff --git a/Source/core/dom/Position.h b/Source/core/dom/Position.h
index 397bd24cb9621b7a99462824ed85ba36c568ee91..02f95341a377746f02bd828dd19eef9fd4e21240 100644
--- a/Source/core/dom/Position.h
+++ b/Source/core/dom/Position.h
@@ -31,6 +31,7 @@
#include "core/editing/EditingBoundary.h"
#include "core/editing/EditingStrategy.h"
#include "core/editing/TextAffinity.h"
+#include "platform/heap/Handle.h"
#include "platform/text/TextDirection.h"
#include "wtf/Assertions.h"
#include "wtf/PassRefPtr.h"
@@ -232,6 +233,11 @@ public:
void showTreeForThis() const;
#endif
+ DEFINE_INLINE_TRACE()
+ {
+ visitor->trace(m_anchorNode);
+ }
+
protected:
PositionAlgorithm(const PositionAlgorithm&);
@@ -274,8 +280,6 @@ public:
int compareTo(const Position&) const;
- DECLARE_TRACE();
-
#ifndef NDEBUG
Node* nodeAsSelectionStart() const;
Node* nodeAsSelectionEnd() const;
« no previous file with comments | « no previous file | Source/core/dom/Position.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698