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

Unified Diff: base/message_pump_libevent_unittest.cc

Issue 16160015: Update base/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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_loop_unittest.cc ('k') | base/observer_list_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_pump_libevent_unittest.cc
diff --git a/base/message_pump_libevent_unittest.cc b/base/message_pump_libevent_unittest.cc
index c7d908e5fd79eb3a8efd9faab0659b5d15814601..cd423afef1b822c8e50149a270b07b1092cf6664 100644
--- a/base/message_pump_libevent_unittest.cc
+++ b/base/message_pump_libevent_unittest.cc
@@ -130,7 +130,7 @@ TEST_F(MessagePumpLibeventTest, DeleteWatcher) {
false, MessagePumpLibevent::WATCH_READ_WRITE, watcher, &delegate);
// Spoof a libevent notification.
- OnLibeventNotification(pump, watcher);
+ OnLibeventNotification(pump.get(), watcher);
}
class StopWatcher : public BaseWatcher {
@@ -154,7 +154,7 @@ TEST_F(MessagePumpLibeventTest, StopWatcher) {
false, MessagePumpLibevent::WATCH_READ_WRITE, &watcher, &delegate);
// Spoof a libevent notification.
- OnLibeventNotification(pump, &watcher);
+ OnLibeventNotification(pump.get(), &watcher);
}
} // namespace
« no previous file with comments | « base/message_loop_unittest.cc ('k') | base/observer_list_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698