| 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 f8008b7d0cc78c95995d603ec6ff365b67ba3cd7..9cd55c9e730c042d15dd31e40d33d81ac3d491f0 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 "wtf/Deque.h"
|
| #include "wtf/Vector.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 v8::Persistent<v8::Object>*);
|
| +
|
| template <typename T>
|
| static void writeBarrier(const void* object, const Member<T> value) {
|
| writeBarrier(object, value.get());
|
|
|