Changeset 65771 in webkit


Ignore:
Timestamp:
Aug 20, 2010 6:01:56 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-08-20 Ademar de Souza Reis Jr <Ademar Reis>

Reviewed by Ariya Hidayat.

[Qt] constify core() and kit() parameters
https://bugs.webkit.org/show_bug.cgi?id=44347

  • Api/qwebframe.cpp: (QWebFrame::evaluateJavaScript):
  • Api/qwebframe_p.h:
  • Api/qwebhistory.cpp: (QWebHistoryItemPrivate::core):
  • Api/qwebhistory_p.h:
  • Api/qwebpage.cpp: (QWebPagePrivate::core):
  • Api/qwebpage_p.h:
Location:
trunk/WebKit/qt
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/Api/qwebframe.cpp

    r65021 r65771  
    14081408}
    14091409
    1410 WebCore::Frame* QWebFramePrivate::core(QWebFrame* webFrame)
     1410WebCore::Frame* QWebFramePrivate::core(const QWebFrame* webFrame)
    14111411{
    14121412    return webFrame->d->frame;
    14131413}
    14141414
    1415 QWebFrame* QWebFramePrivate::kit(WebCore::Frame* coreFrame)
     1415QWebFrame* QWebFramePrivate::kit(const WebCore::Frame* coreFrame)
    14161416{
    14171417    return static_cast<FrameLoaderClientQt*>(coreFrame->loader()->client())->webFrame();
  • trunk/WebKit/qt/Api/qwebframe_p.h

    r65021 r65771  
    8282    WebCore::Scrollbar* verticalScrollBar() const;
    8383
    84     static WebCore::Frame* core(QWebFrame*);
    85     static QWebFrame* kit(WebCore::Frame*);
     84    static WebCore::Frame* core(const QWebFrame*);
     85    static QWebFrame* kit(const WebCore::Frame*);
    8686
    8787    void renderRelativeCoords(WebCore::GraphicsContext*, QWebFrame::RenderLayer, const QRegion& clip);
  • trunk/WebKit/qt/Api/qwebhistory.cpp

    r62792 r65771  
    555555}
    556556
    557 WebCore::HistoryItem* QWebHistoryItemPrivate::core(QWebHistoryItem* q)
     557WebCore::HistoryItem* QWebHistoryItemPrivate::core(const QWebHistoryItem* q)
    558558{
    559559    return q->d->item;
  • trunk/WebKit/qt/Api/qwebhistory_p.h

    r61056 r65771  
    4646    }
    4747
    48     static WebCore::HistoryItem* core(QWebHistoryItem* q);
     48    static WebCore::HistoryItem* core(const QWebHistoryItem* q);
    4949
    5050    WebCore::HistoryItem* item;
  • trunk/WebKit/qt/Api/qwebpage.cpp

    r64965 r65771  
    323323}
    324324
    325 WebCore::Page* QWebPagePrivate::core(QWebPage* page)
     325WebCore::Page* QWebPagePrivate::core(const QWebPage* page)
    326326{
    327327    return page->d->page;
  • trunk/WebKit/qt/Api/qwebpage_p.h

    r64401 r65771  
    7373    ~QWebPagePrivate();
    7474
    75     static WebCore::Page* core(QWebPage*);
     75    static WebCore::Page* core(const QWebPage*);
    7676    static QWebPagePrivate* priv(QWebPage*);
    7777
  • trunk/WebKit/qt/ChangeLog

    r65722 r65771  
     12010-08-20  Ademar de Souza Reis Jr  <ademar.reis@openbossa.org>
     2
     3        Reviewed by Ariya Hidayat.
     4
     5        [Qt] constify core() and kit() parameters
     6        https://bugs.webkit.org/show_bug.cgi?id=44347
     7
     8        * Api/qwebframe.cpp:
     9        (QWebFrame::evaluateJavaScript):
     10        * Api/qwebframe_p.h:
     11        * Api/qwebhistory.cpp:
     12        (QWebHistoryItemPrivate::core):
     13        * Api/qwebhistory_p.h:
     14        * Api/qwebpage.cpp:
     15        (QWebPagePrivate::core):
     16        * Api/qwebpage_p.h:
     17
    1182010-08-19  Balazs Kelemen  <kb@inf.u-szeged.hu>
    219
Note: See TracChangeset for help on using the changeset viewer.