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

Unified Diff: webkit/default_plugin/plugin_install_job_monitor.cc

Issue 18824: thread.cc race fix take 2 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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: webkit/default_plugin/plugin_install_job_monitor.cc
===================================================================
--- webkit/default_plugin/plugin_install_job_monitor.cc (revision 8505)
+++ webkit/default_plugin/plugin_install_job_monitor.cc (working copy)
@@ -36,6 +36,12 @@
}
void PluginInstallationJobMonitorThread::Init() {
+ this->message_loop()->PostTask(FROM_HERE,
+ NewRunnableMethod(this,
+ &PluginInstallationJobMonitorThread::WaitForJobThread));
+}
+
+void PluginInstallationJobMonitorThread::WaitForJobThread() {
if (!install_job_) {
DLOG(WARNING) << "Invalid job information";
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698