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

Unified Diff: trunk/src/chrome/browser/ui/cocoa/constrained_window/constrained_window_animation_unittest.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/constrained_window/constrained_window_animation_unittest.mm
===================================================================
--- trunk/src/chrome/browser/ui/cocoa/constrained_window/constrained_window_animation_unittest.mm (revision 212951)
+++ trunk/src/chrome/browser/ui/cocoa/constrained_window/constrained_window_animation_unittest.mm (working copy)
@@ -3,7 +3,6 @@
// found in the LICENSE file.
#include "base/mac/scoped_nsobject.h"
-#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_pump_mac.h"
#import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
#import "chrome/browser/ui/cocoa/constrained_window/constrained_window_animation.h"
@@ -13,7 +12,7 @@
<NSAnimationDelegate> {
@private
CGFloat frameCount_;
- scoped_ptr<base::MessagePumpNSRunLoop> message_pump_;
+ scoped_refptr<base::MessagePumpNSRunLoop> message_pump_;
}
- (void)runAnimation:(NSAnimation*)animation;
@@ -24,7 +23,7 @@
- (id)init {
if ((self = [super init]))
- message_pump_.reset(new base::MessagePumpNSRunLoop);
+ message_pump_ = new base::MessagePumpNSRunLoop;
return self;
}
Property changes on: trunk\src\chrome\browser\ui\cocoa\constrained_window\constrained_window_animation_unittest.mm
___________________________________________________________________
Deleted: svn:eol-style
- LF

Powered by Google App Engine
This is Rietveld 408576698