Changeset 230512 in webkit
- Timestamp:
- Apr 10, 2018 7:49:10 PM (6 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r230511 r230512 1 2018-04-10 Brent Fulgham <bfulgham@apple.com> 2 3 Unreviewed follow-up to r230468. 4 5 Switch some RELEASE_ASSERTs in hot codepaths to normal DEBUG asserts. 6 7 * page/mac/EventHandlerMac.mm: 8 (WebCore::lastEventIsMouseUp): 9 (WebCore::EventHandler::sendFakeEventsAfterWidgetTracking): 10 * platform/mac/EventLoopMac.mm: 11 (WebCore::EventLoop::cycle): 12 1 13 2018-04-10 Wenson Hsieh <wenson_hsieh@apple.com> 2 14 -
trunk/Source/WebCore/page/mac/EventHandlerMac.mm
r230468 r230512 202 202 203 203 ASSERT([NSApp isRunning]); 204 RELEASE_ASSERT(hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer));204 ASSERT(hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer)); 205 205 206 206 BEGIN_BLOCK_OBJC_EXCEPTIONS; … … 573 573 return; 574 574 575 RELEASE_ASSERT(hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer));575 ASSERT(hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer)); 576 576 577 577 BEGIN_BLOCK_OBJC_EXCEPTIONS; -
trunk/Source/WebCore/platform/mac/EventLoopMac.mm
r230468 r230512 40 40 return; 41 41 } 42 RELEASE_ASSERT(hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer));42 ASSERT(hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer)); 43 43 #endif 44 44 [NSApp setWindowsNeedUpdate:YES]; -
trunk/Source/WebKit/ChangeLog
r230509 r230512 1 2018-04-10 Brent Fulgham <bfulgham@apple.com> 2 3 Unreviewed follow-up to r230468. 4 5 Switch some RELEASE_ASSERTs in hot codepaths to normal DEBUG asserts. 6 7 * UIProcess/mac/PageClientImplMac.mm: 8 (WebKit::PageClientImpl::isViewWindowActive): 9 (WebKit::PageClientImpl::setCursor): 10 1 11 2018-04-10 Fujii Hironori <Hironori.Fujii@sony.com> 2 12 -
trunk/Source/WebKit/UIProcess/mac/PageClientImplMac.mm
r230468 r230512 162 162 bool PageClientImpl::isViewWindowActive() 163 163 { 164 RELEASE_ASSERT(hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer));164 ASSERT(hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer)); 165 165 NSWindow *activeViewWindow = activeWindow(); 166 166 return activeViewWindow.isKeyWindow || [NSApp keyWindow] == activeViewWindow; … … 293 293 void PageClientImpl::setCursor(const WebCore::Cursor& cursor) 294 294 { 295 RELEASE_ASSERT(hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer));295 ASSERT(hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer)); 296 296 // FIXME: Would be nice to share this code with WebKit1's WebChromeClient. 297 297
Note: See TracChangeset
for help on using the changeset viewer.