summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/render_thread.h')
-rw-r--r--chrome/renderer/render_thread.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/chrome/renderer/render_thread.h b/chrome/renderer/render_thread.h
index 89b203f..50e022a 100644
--- a/chrome/renderer/render_thread.h
+++ b/chrome/renderer/render_thread.h
@@ -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 @@ class RenderThread : public IPC::Channel::Listener,
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 @@ class RenderThread : public IPC::Channel::Listener,
// 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_;