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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm

Issue 13966008: Remove 10.5 support code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm
index 7268beabcf6d79bdf545cd982618365f782d9616..c39a01442c620c33474200075e337d8e5b8dbc40 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm
@@ -65,14 +65,7 @@ using content::UserMetricsAction;
- (void)awakeFromNib {
[super awakeFromNib];
- // Check if NSTextFieldCell supports the method. This check is in place as
- // only 10.6 and greater support the setUsesSingleLineMode method.
- // TODO(kushi.p): Remove this when the project hits a 10.6+ only state.
- NSTextFieldCell* nameFieldCell_ = [nameTextField_ cell];
- if ([nameFieldCell_
- respondsToSelector:@selector(setUsesSingleLineMode:)]) {
- [nameFieldCell_ setUsesSingleLineMode:YES];
- }
+ [[nameTextField_ cell] setUsesSingleLineMode:YES];
}
// If this is a new bookmark somewhere visible (e.g. on the bookmark
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698