diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-18 23:39:02 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-18 23:39:02 +0000 |
commit | 1d97d2e32c0912611926a7364b5350593d713906 (patch) | |
tree | 40136fca534855d1dac7b2243f52d70ce683c33c /chrome/renderer/render_widget.h | |
parent | 8a31b03c82d432b6554e17f2e0bec59ca90a40df (diff) | |
download | chromium_src-1d97d2e32c0912611926a7364b5350593d713906.zip chromium_src-1d97d2e32c0912611926a7364b5350593d713906.tar.gz chromium_src-1d97d2e32c0912611926a7364b5350593d713906.tar.bz2 |
Make the global render thread object a regular global object rather than a
special TLS value. This is slightly faster for this commonly-used function, and
we don't ever have more than one (it's like this because we were originally
planning on having more than one RenderThread).
BUG=5635
Review URL: http://codereview.chromium.org/15052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7272 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_widget.h')
-rw-r--r-- | chrome/renderer/render_widget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/render_widget.h b/chrome/renderer/render_widget.h index e3a750e..8eefe47 100644 --- a/chrome/renderer/render_widget.h +++ b/chrome/renderer/render_widget.h @@ -29,7 +29,7 @@ class RenderWidget : public IPC::Channel::Listener, public: // Creates a new RenderWidget. The opener_id is the routing ID of the // RenderView that this widget lives inside. The render_thread is any - // RenderThreadBase implementation, mostly commonly RenderThread::current(). + // RenderThreadBase implementation, mostly commonly g_render_thread. static RenderWidget* Create(int32 opener_id, RenderThreadBase* render_thread, bool focus_on_show); |