diff options
author | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-09 09:37:41 +0000 |
---|---|---|
committer | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-09 09:37:41 +0000 |
commit | 1f8bf579822d04d6337629d4cab2cdd53fd56a5b (patch) | |
tree | fb58c26a534b9d86b07720aff924dda4b9ee3015 /base/pending_task.cc | |
parent | dac0b36bb0a32586714ec0ebb4e49f25c8c1f0f4 (diff) | |
download | chromium_src-1f8bf579822d04d6337629d4cab2cdd53fd56a5b.zip chromium_src-1f8bf579822d04d6337629d4cab2cdd53fd56a5b.tar.gz chromium_src-1f8bf579822d04d6337629d4cab2cdd53fd56a5b.tar.bz2 |
Tidy up previous PendingTask change.
See discussion here: https://chromiumcodereview.appspot.com/11095007/
BUG=154744,143646
Review URL: https://chromiumcodereview.appspot.com/11066071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160811 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/pending_task.cc')
-rw-r--r-- | base/pending_task.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/base/pending_task.cc b/base/pending_task.cc index 697610b..b288f28 100644 --- a/base/pending_task.cc +++ b/base/pending_task.cc @@ -8,8 +8,11 @@ namespace base { -PendingTask::PendingTask() { +#if _MSC_VER >= 1700 +// This a temporary fix for compiling on VS2012. http://crbug.com/154744 +PendingTask::PendingTask() : sequence_num(-1), nestable(false) { } +#endif PendingTask::PendingTask(const tracked_objects::Location& posted_from, const base::Closure& task) |