| Index: third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.h b/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.h
|
| index a8763a8eeb07fc6b387d303ec8a469b38e74f240..f105ebda78e1f9480cb9e7d926d08b2301a1dc58 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.h
|
| @@ -5,10 +5,10 @@
|
| #ifndef ScriptWrappableVisitor_h
|
| #define ScriptWrappableVisitor_h
|
|
|
| -#include "bindings/core/v8/ScriptWrappable.h"
|
| #include "core/CoreExport.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| #include "platform/heap/HeapPage.h"
|
| +#include "platform/heap/VisitorImpl.h"
|
| #include "platform/heap/WrapperVisitor.h"
|
| #include "v8/include/v8.h"
|
| #include "wtf/Deque.h"
|
| @@ -19,6 +19,7 @@ namespace blink {
|
| class HeapObjectHeader;
|
| template <typename T>
|
| class Member;
|
| +class ScriptWrappable;
|
| template <typename T>
|
| class TraceWrapperV8Reference;
|
|
|
| @@ -99,6 +100,10 @@ class CORE_EXPORT ScriptWrappableVisitor : public v8::EmbedderHeapTracer,
|
| static void writeBarrier(const void*,
|
| const TraceWrapperV8Reference<v8::Value>*);
|
|
|
| + // TODO(mlippautz): Remove once ScriptWrappable is converted to
|
| + // TraceWrapperV8Reference.
|
| + static void writeBarrier(const void*, const v8::Persistent<v8::Object>*);
|
| +
|
| template <typename T>
|
| static void writeBarrier(const void* object, const Member<T> value) {
|
| writeBarrier(object, value.get());
|
|
|