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

Unified Diff: base/pending_task.cc

Issue 395913006: High resolution timer fix for Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: real fixes for review Created 6 years, 5 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
« base/message_loop/incoming_task_queue.h ('K') | « 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 b288f28d09f8a62044c419b3e18676e6558c3771..3d7891414c8dc7df431f0c4d8a6bf8dcb26eb9a5 100644
--- a/base/pending_task.cc
+++ b/base/pending_task.cc
@@ -8,19 +8,14 @@
namespace base {
-#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)
: base::TrackingInfo(posted_from, TimeTicks()),
task(task),
posted_from(posted_from),
sequence_num(0),
- nestable(true) {
+ nestable(true),
+ is_high_res(false) {
}
PendingTask::PendingTask(const tracked_objects::Location& posted_from,
@@ -31,7 +26,8 @@ PendingTask::PendingTask(const tracked_objects::Location& posted_from,
task(task),
posted_from(posted_from),
sequence_num(0),
- nestable(nestable) {
+ nestable(nestable),
+ is_high_res(false) {
}
PendingTask::~PendingTask() {
« base/message_loop/incoming_task_queue.h ('K') | « base/pending_task.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698