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

Unified Diff: Source/core/loader/WorkerThreadableLoader.cpp

Issue 124943003: Remove 'String::append' from some of the blink source. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removing the CustomFilterValidatedProgram.cpp from the patch(File is deleted in r164847) Created 6 years, 11 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/NetworkResourcesData.cpp ('k') | Source/modules/filesystem/DOMFilePath.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/WorkerThreadableLoader.cpp
diff --git a/Source/core/loader/WorkerThreadableLoader.cpp b/Source/core/loader/WorkerThreadableLoader.cpp
old mode 100644
new mode 100755
index 2cd425fc89c4b90b20ca865bfca725737367c6ac..6960fac2aa77b4a0b6ebd0344d4b0ef9e83881bf
--- a/Source/core/loader/WorkerThreadableLoader.cpp
+++ b/Source/core/loader/WorkerThreadableLoader.cpp
@@ -68,8 +68,7 @@ void WorkerThreadableLoader::loadResourceSynchronously(WorkerGlobalScope* worker
WorkerRunLoop& runLoop = workerGlobalScope->thread()->runLoop();
// Create a unique mode just for this synchronous resource load.
- String mode = loadResourceSynchronouslyMode;
- mode.append(String::number(runLoop.createUniqueId()));
+ String mode = loadResourceSynchronouslyMode + String::number(runLoop.createUniqueId());
RefPtr<WorkerThreadableLoader> loader = WorkerThreadableLoader::create(workerGlobalScope, &client, mode, request, options);
MessageQueueWaitResult result = MessageQueueMessageReceived;
« no previous file with comments | « Source/core/inspector/NetworkResourcesData.cpp ('k') | Source/modules/filesystem/DOMFilePath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698