Index: third_party/WebKit/Source/core/frame/csp/CSPSourceList.cpp |
diff --git a/third_party/WebKit/Source/core/frame/csp/CSPSourceList.cpp b/third_party/WebKit/Source/core/frame/csp/CSPSourceList.cpp |
index ccd38779cf7ad5fd1512ec67a6f5c1922ab192c8..9c885b7366c11e6ae7e31fd6e4a1c44551d10386 100644 |
--- a/third_party/WebKit/Source/core/frame/csp/CSPSourceList.cpp |
+++ b/third_party/WebKit/Source/core/frame/csp/CSPSourceList.cpp |
@@ -177,8 +177,8 @@ bool CSPSourceList::parseSource(const UChar* begin, const UChar* end, String& sc |
return true; |
} |
- if (equalIgnoringCase("'unsafe-dynamic'", begin, end - begin)) { |
- addSourceUnsafeDynamic(); |
+ if (equalIgnoringCase("'strict-dynamic'", begin, end - begin)) { |
+ addSourceStrictDynamic(); |
return true; |
} |
@@ -504,7 +504,7 @@ void CSPSourceList::addSourceUnsafeEval() |
m_allowEval = true; |
} |
-void CSPSourceList::addSourceUnsafeDynamic() |
+void CSPSourceList::addSourceStrictDynamic() |
{ |
m_allowDynamic = true; |
} |