Index: Source/core/fetch/ResourceFetcher.cpp |
diff --git a/Source/core/fetch/ResourceFetcher.cpp b/Source/core/fetch/ResourceFetcher.cpp |
index e3d0397c0a0855a990b6e513feb5637637bce64a..d628f1ad5767f401553cd48aadd63c39176fce24 100644 |
--- a/Source/core/fetch/ResourceFetcher.cpp |
+++ b/Source/core/fetch/ResourceFetcher.cpp |
@@ -506,7 +506,7 @@ bool ResourceFetcher::canRequest(Resource::Type type, const KURL& url, const Res |
if (frame()) { |
Settings* settings = frame()->settings(); |
- if (!frame()->loader().client()->allowScriptFromSource(!settings || settings->isScriptEnabled(), url)) { |
+ if (!frame()->loader().client()->allowScriptFromSource(!settings || settings->scriptEnabled(), url)) { |
frame()->loader().client()->didNotAllowScript(); |
return false; |
} |