X-Git-Url: http://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=Source%2FWebCore%2Fbindings%2Fjs%2FScriptController.h;h=f7bee054c299fe75aadb8486c4646d832568a4e3;hp=6e9ddca08de0f6818a07675baa6f4ae4deeebbeb;hb=d0de202d885e4875d73149ed0c91d96502495afd;hpb=5af907adf884ea080395646e62ffd1029210e41e diff --git a/Source/WebCore/bindings/js/ScriptController.h b/Source/WebCore/bindings/js/ScriptController.h index 6e9ddca..f7bee05 100644 --- a/Source/WebCore/bindings/js/ScriptController.h +++ b/Source/WebCore/bindings/js/ScriptController.h @@ -28,6 +28,7 @@ #include #include #include +#include #include #if PLATFORM(COCOA) @@ -69,7 +70,7 @@ enum ReasonForCallingCanExecuteScripts { NotAboutToExecuteScript }; -class ScriptController { +class ScriptController : public CanMakeWeakPtr { WTF_MAKE_FAST_ALLOCATED; using RootObjectMap = HashMap>;