Index: base/pending_task.cc |
diff --git a/base/pending_task.cc b/base/pending_task.cc |
index 697610b67718945575949d78462d668bd69bf2f3..b288f28d09f8a62044c419b3e18676e6558c3771 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) |