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

Unified Diff: content/renderer/shared_worker/embedded_shared_worker_stub.cc

Issue 2537953003: WebString: makes string16 conversions explicit (part 1: blink, content) (Closed)
Patch Set: fix Created 4 years 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: content/renderer/shared_worker/embedded_shared_worker_stub.cc
diff --git a/content/renderer/shared_worker/embedded_shared_worker_stub.cc b/content/renderer/shared_worker/embedded_shared_worker_stub.cc
index 4b0d2914a148074d470426ad071bdcbc34e9daa3..b3bf6bfc3073199ebb9ff868d8392a38eb12ce4e 100644
--- a/content/renderer/shared_worker/embedded_shared_worker_stub.cc
+++ b/content/renderer/shared_worker/embedded_shared_worker_stub.cc
@@ -147,8 +147,10 @@ EmbeddedSharedWorkerStub::EmbeddedSharedWorkerStub(
}
worker_devtools_agent_.reset(
new SharedWorkerDevToolsAgent(route_id, impl_));
- impl_->startWorkerContext(url, name_, content_security_policy,
- security_policy_type, creation_address_space);
+ impl_->startWorkerContext(
+ url, blink::WebString::fromUTF16(name_),
+ blink::WebString::fromUTF16(content_security_policy),
+ security_policy_type, creation_address_space);
}
EmbeddedSharedWorkerStub::~EmbeddedSharedWorkerStub() {

Powered by Google App Engine
This is Rietveld 408576698