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

Unified Diff: base/message_loop.cc

Issue 14850: Remove the purify directive which should no longer be necessary.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop.cc
===================================================================
--- base/message_loop.cc (revision 7227)
+++ base/message_loop.cc (working copy)
@@ -9,7 +9,6 @@
#include "base/compiler_specific.h"
#include "base/lazy_instance.h"
#include "base/logging.h"
-#include "base/memory_debug.h"
#include "base/message_pump_default.h"
#include "base/string_util.h"
#include "base/thread_local.h"
@@ -108,14 +107,6 @@
pump_ = new base::MessagePumpDefault();
}
#endif // OS_POSIX
-
- // We override the PURIFY build to disregard any UMRs in delayed_work_queue_.
- // This avoids an error in pop(), which pushes the |comp| field onto the
- // stack. The |comp| field is uninitialized, since it is std::less, which is
- // an empty struct -- VS reserves 1 byte for this struct, which will never
- // be initialized. See http://crbug.com/5555.
- base::MemoryDebug::MarkAsInitialized(&delayed_work_queue_,
- sizeof(delayed_work_queue_));
}
MessageLoop::~MessageLoop() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698