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

Unified Diff: chrome/browser/ui/cocoa/run_loop_testing.mm

Issue 18346006: Update OS X to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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
Index: chrome/browser/ui/cocoa/run_loop_testing.mm
diff --git a/chrome/browser/ui/cocoa/run_loop_testing.mm b/chrome/browser/ui/cocoa/run_loop_testing.mm
index 9918c90a4ccd4081b69a6558bb1f9989259463c0..f79aa53308ff21c2ac81fed4071b93fedf526ce0 100644
--- a/chrome/browser/ui/cocoa/run_loop_testing.mm
+++ b/chrome/browser/ui/cocoa/run_loop_testing.mm
@@ -43,7 +43,7 @@ void NSRunLoopRunAllPending() {
// Put a delayed selector on the queue. All other pending delayed selectors
// will run before this, after which the internal loop can end.
base::scoped_nsobject<CocoaQuitTask> quit_task(
- [[CocoaQuitTask alloc] initWithMessagePump:message_pump]);
+ [[CocoaQuitTask alloc] initWithMessagePump:message_pump.get()]);
[quit_task performSelector:@selector(doQuit)
withObject:nil

Powered by Google App Engine
This is Rietveld 408576698