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

Unified Diff: chrome/browser/ui/cocoa/find_bar/find_bar_view.mm

Issue 469003006: Remove --disable-core-animation flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@erikchen_patch
Patch Set: Rebase Created 6 years, 4 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/find_bar/find_bar_view.mm
diff --git a/chrome/browser/ui/cocoa/find_bar/find_bar_view.mm b/chrome/browser/ui/cocoa/find_bar/find_bar_view.mm
index 0c7838d9eb75fcb3ceb07c8f0668f0a14257dd1b..4250a576f073cabd9270094558d12b3a896e90db 100644
--- a/chrome/browser/ui/cocoa/find_bar/find_bar_view.mm
+++ b/chrome/browser/ui/cocoa/find_bar/find_bar_view.mm
@@ -20,9 +20,9 @@ CGFloat kCurveSize = 8;
- (id)initWithFrame:(NSRect)frame {
if ((self = [super initWithFrame:frame])) {
// Give this view its own layer so that it can appear over the web contents
- // view's layer. Layer squashing is not necessary for this view because
+ // view's layer. Layer squashing is not helpful for this view because
// NSTextField will correctly anti-alias text on 10.8 and beyond.
- [self cr_setWantsLayer:YES];
+ [self setWantsLayer:YES];
}
return self;
}
« no previous file with comments | « chrome/browser/ui/cocoa/fast_resize_view_unittest.mm ('k') | chrome/browser/ui/cocoa/fullscreen_mode_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698