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

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

Issue 19737005: Revert 212948 "Made MessagePump a non-thread safe class." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 5 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: trunk/src/chrome/browser/ui/cocoa/run_loop_testing.mm
===================================================================
--- trunk/src/chrome/browser/ui/cocoa/run_loop_testing.mm (revision 212951)
+++ trunk/src/chrome/browser/ui/cocoa/run_loop_testing.mm (working copy)
@@ -7,7 +7,6 @@
#import <Foundation/Foundation.h>
#include "base/mac/scoped_nsobject.h"
-#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_pump_mac.h"
// This class is scheduled with a delayed selector to quit the message pump.
@@ -38,7 +37,7 @@
namespace testing {
void NSRunLoopRunAllPending() {
- scoped_ptr<base::MessagePumpNSRunLoop> message_pump(
+ scoped_refptr<base::MessagePumpNSRunLoop> message_pump(
new base::MessagePumpNSRunLoop);
// Put a delayed selector on the queue. All other pending delayed selectors
« no previous file with comments | « trunk/src/chrome/browser/ui/cocoa/history_overlay_controller_unittest.mm ('k') | trunk/src/media/base/pipeline_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698