Skip to content
  • mrowe@apple.com's avatar
    Fix the WebKit2 build with clang. · d82db12f
    mrowe@apple.com authored
    Reviewed by Sam Weinig.
    
    * Scripts/webkit2/messages.py: Add some more structs to the list.
    * UIProcess/DrawingAreaProxy.h: Forward-declare UpdateInfo as a class.
    * UIProcess/TextChecker.h: Forward-declare TextCheckerState as a struct.
    * UIProcess/WebPageProxy.h: Forward-declare ContextMenuState as a struct.
    * UIProcess/mac/TextCheckerMac.mm: Fix the type of the string constants so that they can be passed to
    functions expecting NSString* without generating warnings.
    * WebProcess/WebPage/DrawingArea.h: Forward-declare WebPageCreationParameters as a struct.
    * WebProcess/WebPage/DrawingAreaImpl.h: Forward-declare UpdateInfo as a class.
    * WebProcess/WebPage/WebPage.cpp:
    (WebKit::WebPage::getResourceDataFromFrame): Add parens around the assignment in the condition of
    the if statement to suppress a warning.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76417 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d82db12f