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

Unified Diff: base/message_pump_mac.mm

Issue 9997007: Objects that derive from RefCounted/RefCountedThreadSafe should not have public dtors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: virtual & DISALLOW Created 8 years, 8 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/message_pump_mac.h ('k') | base/sequenced_task_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_pump_mac.mm
diff --git a/base/message_pump_mac.mm b/base/message_pump_mac.mm
index 0e12b74b56b9a04bc81617720c7bc0cea1b55dc3..87c48c8ef407f3c100bf1baf768a3d1e43b5a2fd 100644
--- a/base/message_pump_mac.mm
+++ b/base/message_pump_mac.mm
@@ -460,6 +460,8 @@ MessagePumpCFRunLoop::MessagePumpCFRunLoop()
: quit_pending_(false) {
}
+MessagePumpCFRunLoop::~MessagePumpCFRunLoop() {}
+
// Called by MessagePumpCFRunLoopBase::DoRun. If other CFRunLoopRun loops were
// running lower on the run loop thread's stack when this object was created,
// the same number of CFRunLoopRun loops must be running for the outermost call
@@ -542,6 +544,8 @@ MessagePumpNSApplication::MessagePumpNSApplication()
running_own_loop_(false) {
}
+MessagePumpNSApplication::~MessagePumpNSApplication() {}
+
void MessagePumpNSApplication::DoRun(Delegate* delegate) {
bool last_running_own_loop_ = running_own_loop_;
« no previous file with comments | « base/message_pump_mac.h ('k') | base/sequenced_task_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698