projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git]
/
src
/
net
/
proxy
/
multi_threaded_proxy_resolver.cc
diff --git
a/src/net/proxy/multi_threaded_proxy_resolver.cc
b/src/net/proxy/multi_threaded_proxy_resolver.cc
index
07d2d6a
..
cab22ab
100644
(file)
--- a/
src/net/proxy/multi_threaded_proxy_resolver.cc
+++ b/
src/net/proxy/multi_threaded_proxy_resolver.cc
@@
-314,11
+314,8
@@
MultiThreadedProxyResolver::Executor::Executor(
DCHECK(coordinator);
DCHECK(resolver);
// Start up the thread.
DCHECK(coordinator);
DCHECK(resolver);
// Start up the thread.
- // Note that it is safe to pass a temporary C-String to Thread(), as it will
- // make a copy.
- std::string thread_name =
- base::StringPrintf("PAC thread #%d", thread_number);
- thread_.reset(new base::Thread(thread_name.c_str()));
+ thread_.reset(new base::Thread(base::StringPrintf("PAC thread #%d",
+ thread_number)));
CHECK(thread_->Start());
}
CHECK(thread_->Start());
}