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

Unified Diff: chrome/renderer/render_thread.h

Issue 1660: Move a bunch of code from the old to new TLS interface. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 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/common/notification_service.cc ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_thread.h
===================================================================
--- chrome/renderer/render_thread.h (revision 1894)
+++ chrome/renderer/render_thread.h (working copy)
@@ -9,7 +9,6 @@
#include "base/shared_memory.h"
#include "base/task.h"
#include "base/thread.h"
-#include "base/thread_local_storage.h"
#include "chrome/common/ipc_sync_channel.h"
#include "chrome/common/message_router.h"
@@ -48,9 +47,7 @@
void RemoveFilter(IPC::ChannelProxy::MessageFilter* filter);
// The RenderThread instance for the current thread.
- static RenderThread* current() {
- return static_cast<RenderThread*>(tls_index_.Get());
- }
+ static RenderThread* current();
VisitedLinkSlave* visited_link_slave() const { return visited_link_slave_; }
@@ -94,8 +91,6 @@
// decisions about how to allocation resources using current information.
void InformHostOfCacheStats();
- static TLSSlot tls_index_;
-
// The message loop used to run tasks on the thread that started this thread.
MessageLoop* owner_loop_;
« no previous file with comments | « chrome/common/notification_service.cc ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698