summaryrefslogtreecommitdiffstats
path: root/base/pending_task.cc
diff options
context:
space:
mode:
authorscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-08 22:58:33 +0000
committerscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-08 22:58:33 +0000
commitc297932f67ea3a0ed2981683437b86fcbc699ea8 (patch)
treeb6c0a50eed39654565eb5cbc2ea52ea7021ea535 /base/pending_task.cc
parentde449da5dd9ff67f2331986b2ce46a84f6d5de8d (diff)
downloadchromium_src-c297932f67ea3a0ed2981683437b86fcbc699ea8.zip
chromium_src-c297932f67ea3a0ed2981683437b86fcbc699ea8.tar.gz
chromium_src-c297932f67ea3a0ed2981683437b86fcbc699ea8.tar.bz2
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
Diffstat (limited to 'base/pending_task.cc')
-rw-r--r--base/pending_task.cc3
1 files changed, 3 insertions, 0 deletions
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()),