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

Unified Diff: third_party/WebKit/Source/core/dom/Node.h

Issue 1876383003: Introduce infrastructure for tracing ScriptWrappables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate Haraken's wonderful comments Created 4 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
Index: third_party/WebKit/Source/core/dom/Node.h
diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h
index a2699fad2f45c1debea89e2e1e2251fde825ef6d..28ee499abde3a6b857bb420921b7d0a015eda390 100644
--- a/third_party/WebKit/Source/core/dom/Node.h
+++ b/third_party/WebKit/Source/core/dom/Node.h
@@ -683,6 +683,8 @@ public:
DECLARE_VIRTUAL_TRACE();
+ OVERRIDE_TRACE_WRAPPERS();
+
unsigned lengthOfContents() const;
v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::Object> creationContext) override;
@@ -776,6 +778,7 @@ protected:
bool hasRareData() const { return getFlag(HasRareDataFlag); }
NodeRareData* rareData() const;
+ NodeRareData* maybeRareData() const;
NodeRareData& ensureRareData();
#if !ENABLE(OILPAN)
void clearRareData();

Powered by Google App Engine
This is Rietveld 408576698