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

Unified Diff: content/child/child_process.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: sync and also fix gpu single process case 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/child/child_process.h
===================================================================
--- content/child/child_process.h (revision 208740)
+++ content/child/child_process.h (working copy)
@@ -53,7 +53,8 @@
void AddRefProcess();
void ReleaseProcess();
- // Getter for the one ChildProcess object for this process.
+ // Getter for the one ChildProcess object for this process. Can only be called
+ // on the main thread.
static ChildProcess* current();
static void WaitForDebugger(const std::string& label);

Powered by Google App Engine
This is Rietveld 408576698