X-Git-Url: http://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=Source%2FWebCore%2Fpage%2FRuntimeEnabledFeatures.cpp;h=8d52c4483059a1c93bd69c3eca9a64d14e262b40;hp=def11888418b519243467c3edb378fb2782e6b26;hb=c39e62fd71d996c0d2ff9fe7358c3b00c3b8ec28;hpb=74a038e32ddb3574d5040b5e85b56a8eac43f97d diff --git a/Source/WebCore/page/RuntimeEnabledFeatures.cpp b/Source/WebCore/page/RuntimeEnabledFeatures.cpp index def1188..8d52c44 100644 --- a/Source/WebCore/page/RuntimeEnabledFeatures.cpp +++ b/Source/WebCore/page/RuntimeEnabledFeatures.cpp @@ -33,6 +33,7 @@ #include "RuntimeEnabledFeatures.h" #include "MediaPlayer.h" +#include #include namespace WebCore { @@ -51,6 +52,11 @@ RuntimeEnabledFeatures& RuntimeEnabledFeatures::sharedFeatures() return runtimeEnabledFeatures; } +bool RuntimeEnabledFeatures::spectreGadgetsEnabled() const +{ + return JSC::Options::enableSpectreGadgets(); +} + #if ENABLE(VIDEO) bool RuntimeEnabledFeatures::audioEnabled() const {