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

Unified Diff: content/renderer/render_thread_impl.h

Issue 17741010: Make ChildThread::current() and ChildProcess::current() only work on the main thread of the child... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: also ChildProcess::current() Created 7 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
Index: content/renderer/render_thread_impl.h
===================================================================
--- content/renderer/render_thread_impl.h (revision 208577)
+++ content/renderer/render_thread_impl.h (working copy)
@@ -155,9 +155,6 @@
virtual void ReleaseCachedFonts() OVERRIDE;
#endif
- // ChildThread:
- virtual bool IsWebFrameValid(WebKit::WebFrame* frame) OVERRIDE;
-
// GpuChannelHostFactory implementation:
virtual bool IsMainThread() OVERRIDE;
virtual base::MessageLoop* GetMainLoop() OVERRIDE;
@@ -430,6 +427,11 @@
// The channel from the renderer process to the GPU process.
scoped_refptr<GpuChannelHost> gpu_channel_;
+ // Cache of variables that are needed on the compositor thread by
+ // GpuChannelHostFactory methods.
+ scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_;
+ base::WaitableEvent* shutdown_event_;
+
// A lazily initiated thread on which file operations are run.
scoped_ptr<base::Thread> file_thread_;

Powered by Google App Engine
This is Rietveld 408576698