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

Unified Diff: Source/bindings/core/v8/Iterable.h

Issue 954683002: InlinedVisitor: Migrate bindings to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « no previous file | Source/bindings/core/v8/Nullable.h » ('j') | Source/bindings/core/v8/ScriptDebugServer.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/Iterable.h
diff --git a/Source/bindings/core/v8/Iterable.h b/Source/bindings/core/v8/Iterable.h
index eafe6f377e7e0cfc2ed9fe7754783fc58d5de482..a24d10d3af89db7997c003cc33780f6ac841f780 100644
--- a/Source/bindings/core/v8/Iterable.h
+++ b/Source/bindings/core/v8/Iterable.h
@@ -82,7 +82,7 @@ public:
// Otherwise: set |key| and |value| and return true.
virtual bool next(ScriptState*, KeyType&, ValueType&, ExceptionState&) = 0;
- virtual void trace(Visitor*) { }
+ DEFINE_INLINE_VIRTUAL_TRACE() { }
};
private:
@@ -137,7 +137,7 @@ private:
return next(scriptState, exceptionState);
}
- void trace(Visitor* visitor) override
+ DEFINE_INLINE_VIRTUAL_TRACE()
{
visitor->trace(m_source);
Iterator::trace(visitor);
« no previous file with comments | « no previous file | Source/bindings/core/v8/Nullable.h » ('j') | Source/bindings/core/v8/ScriptDebugServer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698