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

Unified Diff: chrome/browser/ui/cocoa/tabs/throbbing_image_view_unittest.mm

Issue 17593006: mac: Update clients of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: iwyu, scoped_nsprotocol 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/tabs/throbbing_image_view_unittest.mm
diff --git a/chrome/browser/ui/cocoa/tabs/throbbing_image_view_unittest.mm b/chrome/browser/ui/cocoa/tabs/throbbing_image_view_unittest.mm
index 33f7f4155a5f3ed6749b5280526c292526d273f3..703d97b0a672280eb43dd9075e7ff63a95c67601 100644
--- a/chrome/browser/ui/cocoa/tabs/throbbing_image_view_unittest.mm
+++ b/chrome/browser/ui/cocoa/tabs/throbbing_image_view_unittest.mm
@@ -14,19 +14,19 @@ namespace {
class ThrobbingImageViewTest : public CocoaTest {
public:
ThrobbingImageViewTest() {
- scoped_nsobject<NSImage> image(
+ base::scoped_nsobject<NSImage> image(
[[NSImage alloc] initWithSize:NSMakeSize(16, 16)]);
[image lockFocus];
NSRectFill(NSMakeRect(0, 0, 16, 16));
[image unlockFocus];
- scoped_nsobject<ThrobbingImageView> view([[ThrobbingImageView alloc]
- initWithFrame:NSMakeRect(0, 0, 16, 16)
- backgroundImage:image
- throbImage:image
- durationMS:20
- throbPosition:kThrobPositionOverlay
- animationContainer:NULL]);
+ base::scoped_nsobject<ThrobbingImageView> view(
+ [[ThrobbingImageView alloc] initWithFrame:NSMakeRect(0, 0, 16, 16)
+ backgroundImage:image
+ throbImage:image
+ durationMS:20
+ throbPosition:kThrobPositionOverlay
+ animationContainer:NULL]);
view_ = view.get();
[[test_window() contentView] addSubview:view_];
}

Powered by Google App Engine
This is Rietveld 408576698