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

Issue 155320: Fix custom cursors on Mac. Null and 0 turn out not to be opposites.... (Closed)

Created:
11 years, 5 months ago by darin (slow to review)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, John Grabowski
Visibility:
Public.

Description

Fix custom cursors on Mac. Null and 0 turn out not to be opposites. I also added an assertion to webcursor_mac.mm that is probably a bit redundant with the one in AppKit, but this way the assertion is more visible to someone reading this file. BUG=16346 TEST=load a page that uses a custom css cursor. R=pinkerton Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=20327

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M webkit/api/src/WebImageCG.cpp View 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/webcursor_mac.mm View 1 chunk +2 lines, -0 lines 2 comments Download

Messages

Total messages: 5 (0 generated)
darin (slow to review)
11 years, 5 months ago (2009-07-09 21:26:26 UTC) #1
pink (ping after 24hrs)
LGTM http://codereview.chromium.org/155320/diff/1/2 File webkit/glue/webcursor_mac.mm (right): http://codereview.chromium.org/155320/diff/1/2#newcode52 Line 52: DCHECK(!custom_data.empty()); is it worth being over-protective (since ...
11 years, 5 months ago (2009-07-09 21:30:30 UTC) #2
darin (slow to review)
http://codereview.chromium.org/155320/diff/1/2 File webkit/glue/webcursor_mac.mm (right): http://codereview.chromium.org/155320/diff/1/2#newcode52 Line 52: DCHECK(!custom_data.empty()); we should only reach here if webkit ...
11 years, 5 months ago (2009-07-09 21:35:45 UTC) #3
pink (ping after 24hrs)
Yeah, trouble is we don't get a crash report. Cocoa exceptions aren't like C++ ones. ...
11 years, 5 months ago (2009-07-09 21:42:25 UTC) #4
darin (slow to review)
11 years, 5 months ago (2009-07-09 22:21:39 UTC) #5
OK, I'm going to change that DCHECK to a CHECK so that we get a crash report. 
Thanks!

Powered by Google App Engine
This is Rietveld 408576698