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

Unified Diff: chrome/worker/worker_thread.h

Issue 126086: Switch child threads so that current() only works on the correct thread and t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « chrome/renderer/render_thread_unittest.cc ('k') | chrome/worker/worker_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/worker/worker_thread.h
===================================================================
--- chrome/worker/worker_thread.h (revision 18344)
+++ chrome/worker/worker_thread.h (working copy)
@@ -17,9 +17,7 @@
~WorkerThread();
// Returns the one worker thread.
- static WorkerThread* current() {
- return static_cast<WorkerThread*>(ChildThread::current());
- }
+ static WorkerThread* current();
private:
virtual void OnControlMessageReceived(const IPC::Message& msg);
« no previous file with comments | « chrome/renderer/render_thread_unittest.cc ('k') | chrome/worker/worker_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698