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

Unified Diff: chrome/browser/ui/cocoa/profile_signin_confirmation_view_controller.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/profile_signin_confirmation_view_controller.mm
diff --git a/chrome/browser/ui/cocoa/profile_signin_confirmation_view_controller.mm b/chrome/browser/ui/cocoa/profile_signin_confirmation_view_controller.mm
index 1aacda3d8a8cd94cf83544af87b9bc4dbfae9e66..367556bb0c72e3d462448863d6f839258425dc62 100644
--- a/chrome/browser/ui/cocoa/profile_signin_confirmation_view_controller.mm
+++ b/chrome/browser/ui/cocoa/profile_signin_confirmation_view_controller.mm
@@ -59,7 +59,7 @@ NSRect ComputeFrame(NSAttributedString* text, CGFloat width, CGFloat height) {
// Make the indicated range of characters in a text view bold.
void MakeTextBold(NSTextField* textField, int offset, int length) {
- scoped_nsobject<NSMutableAttributedString> text(
+ base::scoped_nsobject<NSMutableAttributedString> text(
[[textField attributedStringValue] mutableCopy]);
NSFont* currentFont =
[text attribute:NSFontAttributeName
@@ -96,7 +96,7 @@ NSTextView* AddTextView(
const string16& link,
int offset,
const ui::ResourceBundle::FontStyle& font_style) {
- scoped_nsobject<HyperlinkTextView> textView(
+ base::scoped_nsobject<HyperlinkTextView> textView(
[[HyperlinkTextView alloc] initWithFrame:NSZeroRect]);
NSFont* font = ui::ResourceBundle::GetSharedInstance().GetFont(
font_style).GetNativeFont();

Powered by Google App Engine
This is Rietveld 408576698