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

Unified Diff: Source/core/dom/SandboxFlags.cpp

Issue 1035573005: Change a bool type to an enum type in constructor argument of SpaceSplitString. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Draft Created 5 years, 9 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
Index: Source/core/dom/SandboxFlags.cpp
diff --git a/Source/core/dom/SandboxFlags.cpp b/Source/core/dom/SandboxFlags.cpp
index bdc39d347c158f74b08d0b3205191dbd9b0b792e..492d636b3df01e7faf3a0852f80eaef4c0507bb8 100644
--- a/Source/core/dom/SandboxFlags.cpp
+++ b/Source/core/dom/SandboxFlags.cpp
@@ -34,8 +34,7 @@ namespace blink {
SandboxFlags parseSandboxPolicy(const String& policy, String& invalidTokensErrorMessage)
{
- const bool shouldFoldCase = false;
- SpaceSplitString policyTokens(AtomicString(policy), shouldFoldCase);
+ SpaceSplitString policyTokens(AtomicString(policy), ShouldNotFoldCase);
return parseSandboxPolicy(policyTokens, invalidTokensErrorMessage);
}

Powered by Google App Engine
This is Rietveld 408576698