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_; |