Skip to content
  • andersca@apple.com's avatar
    Remove block based APIs from the WebKit2 C API · 57910a8c
    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=124157
    
    Reviewed by Sam Weinig.
    
    Source/WebKit2:
    
    Remove most of the block based C APIs from WebKit2. We want to discourage people from using
    them since any C API "objects" captured by blocks won't be implicitly retained which
    can lead to dangling pointer bugs.
    
    * UIProcess/API/C/WKDatabaseManager.cpp:
    * UIProcess/API/C/WKDatabaseManager.h:
    * UIProcess/API/C/WKFrame.cpp:
    * UIProcess/API/C/WKFrame.h:
    * UIProcess/API/C/WKPage.cpp:
    * UIProcess/API/C/WKPage.h:
    * UIProcess/API/C/WKPagePrivate.h:
    
    Tools:
    
    Update for WK2 changes.
    
    * MiniBrowser/mac/WK2BrowserWindowController.m:
    (dumpSource):
    (-[WK2BrowserWindowController dumpSourceToConsole:]):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159059 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    57910a8c