void TestController::runModal(WKPageRef page, const void* clientInfo) { PlatformWebView* view = static_cast<PlatformWebView*>(const_cast<void*>(clientInfo)); view->setWindowIsKey(false); runModal(view); view->setWindowIsKey(true); }
void TestController::runModal(WKPageRef page, const void* clientInfo) { runModal(static_cast<PlatformWebView*>(const_cast<void*>(clientInfo))); }