Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(989)

Unified Diff: third_party/WebKit/Source/platform/network/ContentSecurityPolicyParsers.cpp

Issue 1420483005: CSP: Don't perform NFC normalization prior to hashing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nfc-frame
Patch Set: Rework test to ensure tests are identical when normalized Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/network/ContentSecurityPolicyParsers.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/network/ContentSecurityPolicyParsers.cpp
diff --git a/third_party/WebKit/Source/platform/network/ContentSecurityPolicyParsers.cpp b/third_party/WebKit/Source/platform/network/ContentSecurityPolicyParsers.cpp
index 52c991ea377745174f26944b43ed38d400252ef1..fd334ec6139b13fcf38526ecb93b6f33113fc762 100644
--- a/third_party/WebKit/Source/platform/network/ContentSecurityPolicyParsers.cpp
+++ b/third_party/WebKit/Source/platform/network/ContentSecurityPolicyParsers.cpp
@@ -67,9 +67,4 @@ bool isMediaTypeCharacter(UChar c)
return !isASCIISpace(c) && c != '/';
}
-WTF::StringUTF8Adaptor normalizeSource(const String& source)
-{
- return WTF::StringUTF8Adaptor(source, WTF::StringUTF8Adaptor::Normalize, WTF::EntitiesForUnencodables);
-}
-
} // namespace
« no previous file with comments | « third_party/WebKit/Source/platform/network/ContentSecurityPolicyParsers.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698