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

Unified Diff: Source/core/timing/Performance.cpp

Issue 359903002: Call WTFString::split(UChar, Vector&) when possible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update tests as well Created 6 years, 6 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/inspector/InspectorTimelineAgent.cpp ('k') | Source/platform/ContentType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/timing/Performance.cpp
diff --git a/Source/core/timing/Performance.cpp b/Source/core/timing/Performance.cpp
index 318553900ded868ef0090914be466a87413a63a7..6029829a1130437d17209a9b95938227867f6139 100644
--- a/Source/core/timing/Performance.cpp
+++ b/Source/core/timing/Performance.cpp
@@ -174,7 +174,7 @@ static bool passesTimingAllowCheck(const ResourceResponse& response, Document* r
const String& securityOrigin = requestingDocument->securityOrigin()->toString();
Vector<String> timingAllowOrigins;
- timingAllowOriginString.string().split(" ", timingAllowOrigins);
+ timingAllowOriginString.string().split(' ', timingAllowOrigins);
for (size_t i = 0; i < timingAllowOrigins.size(); ++i) {
if (timingAllowOrigins[i] == securityOrigin)
return true;
« no previous file with comments | « Source/core/inspector/InspectorTimelineAgent.cpp ('k') | Source/platform/ContentType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698