Changeset 151879 in webkit
- Timestamp:
- Jun 22, 2013, 1:29:30 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r151878 r151879 1 2013-06-22 Simon Fraser <simon.fraser@apple.com> 2 3 Followup from r151877 . 4 Fix crash in fast/frames/iframe-access-screen-of-deleted.html by null-checking the widget. 5 6 * platform/mac/PlatformScreenMac.mm: 7 (WebCore::screenForWidget): 8 1 9 2013-06-22 Hans Muller <hmuller@adobe.com> 2 10 -
trunk/Source/WebCore/platform/mac/PlatformScreenMac.mm
r151877 r151879 76 76 77 77 // Didn't get an NSWindow; probably WebKit2. Try using the Widget's display ID. 78 if (NSScreen *screen = [NSScreen screenForDislayID:widget->windowDisplayID()])78 if (NSScreen *screen = widget ? [NSScreen screenForDislayID:widget->windowDisplayID()] : nil) 79 79 return screen; 80 80
Note:
See TracChangeset
for help on using the changeset viewer.