From c297932f67ea3a0ed2981683437b86fcbc699ea8 Mon Sep 17 00:00:00 2001 From: "scottmg@chromium.org" Date: Mon, 8 Oct 2012 22:58:33 +0000 Subject: add default constructor to PendingTask; compilation fix for VS2012 std::queue in TaskQueue wants a default ctor for its contained value in 2012. R=willchan@chromium.org BUG=143646 Review URL: https://chromiumcodereview.appspot.com/11095007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160736 0039d316-1c4b-4281-b951-d872f2087c98 --- base/pending_task.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'base/pending_task.cc') diff --git a/base/pending_task.cc b/base/pending_task.cc index 44eda71..697610b 100644 --- a/base/pending_task.cc +++ b/base/pending_task.cc @@ -8,6 +8,9 @@ namespace base { +PendingTask::PendingTask() { +} + PendingTask::PendingTask(const tracked_objects::Location& posted_from, const base::Closure& task) : base::TrackingInfo(posted_from, TimeTicks()), -- cgit v1.1