Skip to content
  • ossy@webkit.org's avatar
    [Qt] Build fix: Qt::escape is deprecated in Qt5 · 362cc3f1
    ossy@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=69162
    
    Use QString::toHtmlEscaped in the Qt5 case.
    
    Source/JavaScriptCore:
    
    Patch by Pierre Rossi <pierre.rossi@gmail.com> on 2011-10-03
    Reviewed by Andreas Kling.
    
    * JavaScriptCore.pri:
    * wtf/qt/UtilsQt.h: Added.
    (escapeHtml):
    * wtf/wtf.pri:
    
    Source/WebCore:
    
    Patch by Pierre Rossi <pierre.rossi@gmail.com> on 2011-10-03
    Reviewed by Andreas Kling.
    
    No new tests needed.
    
    * WebCore.pro: adjust the include path accordingly
    in the v8 case.
    
    Source/WebKit/qt:
    
    Patch by Pierre Rossi <pierre.rossi@gmail.com> on 2011-10-03
    Reviewed by Andreas.
    
    * Api/qwebpage.cpp:
    (QWebPage::javaScriptAlert):
    (QWebPage::javaScriptConfirm):
    (QWebPage::javaScriptPrompt):
    * WebCoreSupport/ChromeClientQt.cpp:
    (WebCore::ChromeClientQt::setToolTip):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    362cc3f1