diff options
author | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-05 20:24:13 +0000 |
---|---|---|
committer | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-05 20:24:13 +0000 |
commit | 7459680f3cd9978f17e0e3f0b0ad28ba206b31ce (patch) | |
tree | db6d0d6dc414eb20f46c2f0790160427991e12a2 /ui/message_center | |
parent | cb050a8cb8f1f0d9ab5216b6ac3f8589223d1872 (diff) | |
download | chromium_src-7459680f3cd9978f17e0e3f0b0ad28ba206b31ce.zip chromium_src-7459680f3cd9978f17e0e3f0b0ad28ba206b31ce.tar.gz chromium_src-7459680f3cd9978f17e0e3f0b0ad28ba206b31ce.tar.bz2 |
Try disabling the layer-backed view in MCTrayViewController.
This will break shadows in the notification tray, but I think this caused the
performance regression in the bug.
BUG=247057
TEST=Performance graphs.
R=dewittj@chromium.org
Review URL: https://codereview.chromium.org/15907022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204330 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/message_center')
-rw-r--r-- | ui/message_center/cocoa/tray_view_controller.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/message_center/cocoa/tray_view_controller.mm b/ui/message_center/cocoa/tray_view_controller.mm index 98f378c..42d2e35 100644 --- a/ui/message_center/cocoa/tray_view_controller.mm +++ b/ui/message_center/cocoa/tray_view_controller.mm @@ -60,7 +60,8 @@ const CGFloat kTrayBottomMargin = 75; [view setFillColor:gfx::SkColorToCalibratedNSColor( message_center::kMessageCenterBackgroundColor)]; [view setTitlePosition:NSNoTitle]; - [view setWantsLayer:YES]; // Needed for notification view shadows. + // TODO(rsesek): See if this fixes a perf regression. + // [view setWantsLayer:YES]; // Needed for notification view shadows. [self setView:view]; [self layoutControlArea]; |