[Qt][WK2] Cleanup dead code in QtWebPageProxy.
[WebKit.git] / Source / WebKit2 / UIProcess / qt / QtWebPageProxy.cpp
index 488f4ce..e7c5cb1 100644 (file)
@@ -607,14 +607,6 @@ void QtWebPageProxy::didChangeLoadProgress(int newLoadProgress)
     m_viewInterface->didChangeLoadProgress(newLoadProgress);
 }
 
-void QtWebPageProxy::paint(QPainter* painter, const QRect& area)
-{
-    if (m_webPageProxy->isValid())
-        paintContent(painter, area);
-    else
-        painter->fillRect(area, Qt::white);
-}
-
 bool QtWebPageProxy::canGoBack() const
 {
     return m_webPageProxy->canGoBack();
@@ -821,13 +813,6 @@ void QtWebPageProxy::didReceiveDownloadResponse(QWebDownloadItem* download)
     m_viewInterface->downloadRequested(download);
 }
 
-void QtWebPageProxy::paintContent(QPainter* painter, const QRect& area)
-{
-    // FIXME: Do something with the unpainted region?
-    WebCore::Region unpaintedRegion;
-    static_cast<DrawingAreaProxyImpl*>(m_webPageProxy->drawingArea())->paint(painter, area, unpaintedRegion);
-}
-
 PassOwnPtr<DrawingAreaProxy> QtWebPageProxy::createDrawingAreaProxy()
 {
     return DrawingAreaProxyImpl::create(m_webPageProxy.get());