[Qt][WK2] Change the rect argument of QtWebPageProxy::paint() to const ref

https://bugs.webkit.org/show_bug.cgi?id=66549

Patch by Lars Knudsen <lars.knudsen@nokia.com> on 2011-08-19
Reviewed by Benjamin Poulain.

* UIProcess/qt/QtWebPageProxy.cpp:
(QtWebPageProxy::paint):
* UIProcess/qt/QtWebPageProxy.h:

git-svn-id: svn://svn.chromium.org/blink/trunk@93402 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent df3f2dbe
2011-08-19 Lars Knudsen <lars.knudsen@nokia.com>
[Qt][WK2] Change the rect argument of QtWebPageProxy::paint() to const ref
https://bugs.webkit.org/show_bug.cgi?id=66549
Reviewed by Benjamin Poulain.
* UIProcess/qt/QtWebPageProxy.cpp:
(QtWebPageProxy::paint):
* UIProcess/qt/QtWebPageProxy.h:
2011-08-19 MORITA Hajime <morrita@google.com>
Spell-checking against execCommand() inserted HTML doesn't care word boundary.
......
......@@ -436,7 +436,7 @@ void QtWebPageProxy::didChangeLoadProgress(int newLoadProgress)
m_viewInterface->didChangeLoadProgress(newLoadProgress);
}
void QtWebPageProxy::paint(QPainter* painter, QRect area)
void QtWebPageProxy::paint(QPainter* painter, const QRect& area)
{
if (m_webPageProxy->isValid())
paintContent(painter, area);
......
......@@ -138,7 +138,7 @@ public:
void didChangeLoadProgress(int);
int loadProgress() const { return m_loadProgress; }
void paint(QPainter* painter, QRect);
void paint(QPainter*, const QRect&);
void updateAction(QtWebPageProxy::WebAction action);
void updateNavigationActions();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment