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

Unified Diff: chrome_frame/task_marshaller.cc

Issue 8555001: base::Bind: Convert chrome_frame/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win-dies. Created 9 years, 1 month 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
« no previous file with comments | « chrome_frame/task_marshaller.h ('k') | chrome_frame/test/automation_client_mock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/task_marshaller.cc
diff --git a/chrome_frame/task_marshaller.cc b/chrome_frame/task_marshaller.cc
index 9ad74a0ab5615c710f804a357579643d9da1b606..5bc6a12d4a6d450dd49a867472aec13fe3fa3743 100644
--- a/chrome_frame/task_marshaller.cc
+++ b/chrome_frame/task_marshaller.cc
@@ -17,6 +17,7 @@ TaskMarshallerThroughMessageQueue::~TaskMarshallerThroughMessageQueue() {
void TaskMarshallerThroughMessageQueue::PostTask(
const tracked_objects::Location& from_here, const base::Closure& task) {
DCHECK(wnd_ != NULL);
+
lock_.Acquire();
bool has_work = !pending_tasks_.empty();
pending_tasks_.push(task);
« no previous file with comments | « chrome_frame/task_marshaller.h ('k') | chrome_frame/test/automation_client_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698