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

Issue 3217006: Mac: Fix a crash on "Look Up in Dictionary" context menu. (Closed)

Created:
10 years, 3 months ago by gmorrita
Modified:
9 years, 7 months ago
Reviewers:
Nico
CC:
chromium-reviews, John Grabowski, ben+cc_chromium.org, pam+watch_chromium.org, brettw-cc_chromium.org
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Mac: Fix a crash on "Look Up in Dictionary" context menu. - Add [NSPasteboard declareTypes] invocation before [NSPasteboard setData], which is required on Loopard. (and not required SL.) - Fixed a potential leak, using scoped_nsobject. BUG=53519 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57841

Patch Set 1 #

Total comments: 4

Patch Set 2 : took a feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M chrome/browser/tab_contents/render_view_context_menu_mac.mm View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
gmorrita
Hi Nico, sorry for slow response. I've fixed a crash bug. Could you take a ...
10 years, 3 months ago (2010-08-30 05:49:33 UTC) #1
Nico
http://codereview.chromium.org/3217006/diff/1/2 File chrome/browser/tab_contents/render_view_context_menu_mac.mm (right): http://codereview.chromium.org/3217006/diff/1/2#newcode79 chrome/browser/tab_contents/render_view_context_menu_mac.mm:79: scoped_nsobject<NSPasteboard> pboard([NSPasteboard pasteboardWithUniqueName]); this is wrong, please google "create ...
10 years, 3 months ago (2010-08-30 05:57:43 UTC) #2
gmorrita
> Can you point me to the docs that say this is required? (It looks ...
10 years, 3 months ago (2010-08-30 07:08:09 UTC) #3
Nico
LG Will land this in time for the m7 code freeze.
10 years, 3 months ago (2010-08-30 07:28:35 UTC) #4
gmorrita
10 years, 3 months ago (2010-08-30 07:37:36 UTC) #5
thanks!

Powered by Google App Engine
This is Rietveld 408576698