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

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: Move enum struct to SpaceSplitString and rename. 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
« no previous file with comments | « Source/core/dom/ElementData.h ('k') | Source/core/dom/SpaceSplitString.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/SandboxFlags.cpp
diff --git a/Source/core/dom/SandboxFlags.cpp b/Source/core/dom/SandboxFlags.cpp
index bdc39d347c158f74b08d0b3205191dbd9b0b792e..4df79990cba5112f93c3e5f9fd8fc20a19f26501 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), SpaceSplitString::ShouldNotFoldCase);
return parseSandboxPolicy(policyTokens, invalidTokensErrorMessage);
}
« no previous file with comments | « Source/core/dom/ElementData.h ('k') | Source/core/dom/SpaceSplitString.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698