Index: third_party/WebKit/Source/bindings/core/v8/ActiveScriptWrappable.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ActiveScriptWrappable.h b/third_party/WebKit/Source/bindings/core/v8/ActiveScriptWrappable.h |
index 74ffa730af6e31d1f74e49a0e899ed9c7b577149..e8aa14eb7bfbc421616e0f1180fe69074075d76e 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ActiveScriptWrappable.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ActiveScriptWrappable.h |
@@ -9,6 +9,10 @@ |
#include "platform/heap/Handle.h" |
#include "wtf/Noncopyable.h" |
+namespace v8 { |
+class Isolate; |
+} |
+ |
namespace blink { |
class ScriptWrappable; |
@@ -24,11 +28,11 @@ class CORE_EXPORT ActiveScriptWrappable : public GarbageCollectedMixin { |
public: |
explicit ActiveScriptWrappable(ScriptWrappable*); |
- static void traceActiveScriptWrappables(ScriptWrappableVisitor*); |
+ static void traceActiveScriptWrappables(v8::Isolate*, ScriptWrappableVisitor*); |
virtual bool hasPendingActivity() const = 0; |
- ScriptWrappable* toScriptWrappable() const; |
+ ScriptWrappable* toScriptWrappable() const { return m_scriptWrappable; } |
private: |
ScriptWrappable* m_scriptWrappable; |