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

Side by Side Diff: chrome/worker/nativewebworker_impl.cc

Issue 266036: Fix another race condition on worker process shutdown that results in use-aft... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/worker/nativewebworker_impl.h ('k') | chrome/worker/webworkerclient_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/worker/nativewebworker_impl.h" 5 #include "chrome/worker/nativewebworker_impl.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 8
9 #undef LOG 9 #undef LOG
10 10
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 const WebKit::WebMessagePortChannelArray& channel) { 157 const WebKit::WebMessagePortChannelArray& channel) {
158 size_t len; 158 size_t len;
159 char* bufp = WebStringToCharp(message, &len); 159 char* bufp = WebStringToCharp(message, &len);
160 // Send a message to NaCl object 160 // Send a message to NaCl object
161 retval = NaClPostMessageToNativeWebWorker(bufp, len, &nap_, &channel_); 161 retval = NaClPostMessageToNativeWebWorker(bufp, len, &nap_, &channel_);
162 delete[] bufp; 162 delete[] bufp;
163 } 163 }
164 164
165 void NativeWebWorkerImpl::workerObjectDestroyed() { 165 void NativeWebWorkerImpl::workerObjectDestroyed() {
166 } 166 }
167
168 void NativeWebWorkerImpl::clientDestroyed() {
169 }
OLDNEW
« no previous file with comments | « chrome/worker/nativewebworker_impl.h ('k') | chrome/worker/webworkerclient_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698