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

Unified Diff: base/pending_task.cc

Issue 11066071: tidy up PendingTask from previous change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use >= rather than == Created 8 years, 2 months 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 | « base/pending_task.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « base/pending_task.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698