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

Unified Diff: base/message_pump_io_ios.h

Issue 11299301: Enable MessageLoop unittests on iOS and fix MessagePumpIOForIOS bug. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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 | « base/base.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_pump_io_ios.h
diff --git a/base/message_pump_io_ios.h b/base/message_pump_io_ios.h
index 407c1dbead9acb2d4f5cc7bcf09e0ffb5581287d..81f529d5131f295c80b23780dd0a0909a1fbdcf5 100644
--- a/base/message_pump_io_ios.h
+++ b/base/message_pump_io_ios.h
@@ -8,6 +8,7 @@
#include "base/base_export.h"
#include "base/mac/scoped_cffiledescriptorref.h"
#include "base/mac/scoped_cftyperef.h"
+#include "base/memory/ref_counted.h"
#include "base/message_pump_mac.h"
#include "base/observer_list.h"
@@ -81,7 +82,7 @@ class BASE_EXPORT MessagePumpIOSForIO : public MessagePumpNSRunLoop {
base::mac::ScopedCFFileDescriptorRef fdref_;
CFOptionFlags callback_types_;
base::mac::ScopedCFTypeRef<CFRunLoopSourceRef> fd_source_;
- MessagePumpIOSForIO* pump_;
+ scoped_refptr<MessagePumpIOSForIO> pump_;
wtc 2012/12/03 19:27:18 Do you know why the FileDescriptorWatcher class in
Watcher* watcher_;
DISALLOW_COPY_AND_ASSIGN(FileDescriptorWatcher);
« no previous file with comments | « base/base.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698