| Index: Source/core/html/parser/HTMLScriptRunner.h
|
| diff --git a/Source/core/html/parser/HTMLScriptRunner.h b/Source/core/html/parser/HTMLScriptRunner.h
|
| index e193f95facd8b6ec1aeb5349da56213151b44857..5c961bc35b7af67b3fd3e3f4d8e10640976e2855 100644
|
| --- a/Source/core/html/parser/HTMLScriptRunner.h
|
| +++ b/Source/core/html/parser/HTMLScriptRunner.h
|
| @@ -27,6 +27,7 @@
|
| #define HTMLScriptRunner_h
|
|
|
| #include "core/dom/PendingScript.h"
|
| +#include "platform/heap/Handle.h"
|
| #include "wtf/Deque.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/text/TextPosition.h"
|
| @@ -41,7 +42,7 @@ class LocalFrame;
|
| class HTMLScriptRunnerHost;
|
| class ScriptSourceCode;
|
|
|
| -class HTMLScriptRunner {
|
| +class HTMLScriptRunner FINAL {
|
| WTF_MAKE_NONCOPYABLE(HTMLScriptRunner); WTF_MAKE_FAST_ALLOCATED;
|
| public:
|
| static PassOwnPtr<HTMLScriptRunner> create(Document* document, HTMLScriptRunnerHost* host)
|
| @@ -53,7 +54,7 @@ public:
|
| void detach();
|
|
|
| // Processes the passed in script and any pending scripts if possible.
|
| - void execute(PassRefPtr<Element> scriptToProcess, const TextPosition& scriptStartPosition);
|
| + void execute(PassRefPtrWillBeRawPtr<Element> scriptToProcess, const TextPosition& scriptStartPosition);
|
|
|
| void executeScriptsWaitingForLoad(Resource*);
|
| bool hasScriptsWaitingForResources() const { return m_hasScriptsWaitingForResources; }
|
| @@ -63,6 +64,8 @@ public:
|
| bool hasParserBlockingScript() const;
|
| bool isExecutingScript() const { return !!m_scriptNestingLevel; }
|
|
|
| + void trace(Visitor*);
|
| +
|
| private:
|
| HTMLScriptRunner(Document*, HTMLScriptRunnerHost*);
|
|
|
|
|