| Index: Source/core/testing/Internals.h
|
| diff --git a/Source/core/testing/Internals.h b/Source/core/testing/Internals.h
|
| index 90772c3efa2f98c6ea7b26cf7721a07a3103f360..7740770d16bc613c4aa3005896418a72cdde3dc3 100644
|
| --- a/Source/core/testing/Internals.h
|
| +++ b/Source/core/testing/Internals.h
|
| @@ -30,6 +30,7 @@
|
| #include "bindings/core/v8/ExceptionStatePlaceholder.h"
|
| #include "bindings/core/v8/Iterable.h"
|
| #include "bindings/core/v8/ScriptPromise.h"
|
| +#include "bindings/core/v8/ScriptState.h"
|
| #include "bindings/core/v8/ScriptValue.h"
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "core/css/CSSComputedStyleDeclaration.h"
|
| @@ -78,7 +79,7 @@ class Internals final : public GarbageCollectedFinalized<Internals>, public Scri
|
| DEFINE_WRAPPERTYPEINFO();
|
| WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Internals);
|
| public:
|
| - static Internals* create(Document*);
|
| + static Internals* create(ScriptState*);
|
| virtual ~Internals();
|
|
|
| static void resetToConsistentState(Page*);
|
| @@ -367,7 +368,7 @@ public:
|
| void setCapsLockState(bool enabled);
|
|
|
| private:
|
| - explicit Internals(Document*);
|
| + explicit Internals(ScriptState*);
|
| Document* contextDocument() const;
|
| LocalFrame* frame() const;
|
| Vector<String> iconURLs(Document*, int iconTypesMask) const;
|
|
|