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

Unified Diff: content/worker/websharedworker_stub.cc

Issue 17948002: Update Linux to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 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
Index: content/worker/websharedworker_stub.cc
diff --git a/content/worker/websharedworker_stub.cc b/content/worker/websharedworker_stub.cc
index 5e23d1adb793f1fc6ab916e96647c66c612bfce5..745b63c1956abf61d13cd564e4ef1667c38fa23b 100644
--- a/content/worker/websharedworker_stub.cc
+++ b/content/worker/websharedworker_stub.cc
@@ -107,8 +107,10 @@ void WebSharedWorkerStub::OnStartWorkerContext(
void WebSharedWorkerStub::OnConnect(int sent_message_port_id, int routing_id) {
if (started_) {
- WebKit::WebMessagePortChannel* channel = new WebMessagePortChannelImpl(
- routing_id, sent_message_port_id, base::MessageLoopProxy::current());
+ WebKit::WebMessagePortChannel* channel =
+ new WebMessagePortChannelImpl(routing_id,
+ sent_message_port_id,
+ base::MessageLoopProxy::current().get());
impl_->connect(channel, NULL);
} else {
// If two documents try to load a SharedWorker at the same time, the
« no previous file with comments | « content/renderer/renderer_webkitplatformsupport_impl.cc ('k') | content/worker/worker_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698