diff options
author | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-10 20:35:40 +0000 |
---|---|---|
committer | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-10 20:35:40 +0000 |
commit | 3522bda4050a25b9020d9c224e9dfc89439e2f5e (patch) | |
tree | 7454927a9f38e23c12de7aef5a61435696b015b0 /chrome/browser/cocoa/browser_frame_view.mm | |
parent | ee0aab23de5bdc7c597faa5fd5dbf62fb17f4da4 (diff) | |
download | chromium_src-3522bda4050a25b9020d9c224e9dfc89439e2f5e.zip chromium_src-3522bda4050a25b9020d9c224e9dfc89439e2f5e.tar.gz chromium_src-3522bda4050a25b9020d9c224e9dfc89439e2f5e.tar.bz2 |
Change back from using NSRectFillWithOperation to plain NSRectFill
because according to shark we were spending a lot of time doing
the alpha blending that we didn't need. In fact we didn't even
want it because it was leaving us artifacts in the corners of our
windows.
BUG=24490,24500
TEST=none
Review URL: http://codereview.chromium.org/273015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28673 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/browser_frame_view.mm')
-rw-r--r-- | chrome/browser/cocoa/browser_frame_view.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/browser_frame_view.mm b/chrome/browser/cocoa/browser_frame_view.mm index 8ccc01e..3cc4ddc 100644 --- a/chrome/browser/cocoa/browser_frame_view.mm +++ b/chrome/browser/cocoa/browser_frame_view.mm @@ -103,7 +103,7 @@ static const NSInteger kBrowserFrameViewPatternPhaseOffset = 2; // Clear out everything [[NSColor clearColor] set]; - NSRectFillUsingOperation(rect, NSCompositeSourceOver); + NSRectFill(rect); // Set up our clip NSWindow* window = [self window]; |