2008-04-19 Julien Chaffraix <jchaffraix@webkit.org>
authorjchaffraix@webkit.org <jchaffraix@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Apr 2008 20:34:32 +0000 (20:34 +0000)
committerjchaffraix@webkit.org <jchaffraix@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Apr 2008 20:34:32 +0000 (20:34 +0000)
        Qt build fix (renderer() -> contentRenderer()).

        * Api/qwebframe.cpp:
        (QWebFrame::renderTreeDump):
        (QWebFrame::render):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@32267 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/qt/Api/qwebframe.cpp
WebKit/qt/ChangeLog

index 1d57743..d778bbb 100644 (file)
@@ -44,7 +44,7 @@
 #include "Element.h"
 #include "Document.h"
 #include "DragData.h"
-#include "RenderObject.h"
+#include "RenderView.h"
 #include "GraphicsContext.h"
 #include "PlatformScrollBar.h"
 #include "PlatformMouseEvent.h"
@@ -203,7 +203,7 @@ QString QWebFrame::renderTreeDump() const
     if (d->frame->view() && d->frame->view()->layoutPending())
         d->frame->view()->layout();
 
-    return externalRepresentation(d->frame->renderer());
+    return externalRepresentation(d->frame->contentRenderer());
 }
 
 /*!
@@ -527,7 +527,7 @@ int QWebFrame::scrollBarMinimum(Qt::Orientation orientation) const
 */
 void QWebFrame::render(QPainter *painter, const QRegion &clip)
 {
-    if (!d->frame->view() || !d->frame->renderer())
+    if (!d->frame->view() || !d->frame->contentRenderer())
         return;
 
     d->frame->view()->layoutIfNeededRecursive();
@@ -544,7 +544,7 @@ void QWebFrame::render(QPainter *painter, const QRegion &clip)
 */
 void QWebFrame::render(QPainter *painter)
 {
-    if (!d->frame->view() || !d->frame->renderer())
+    if (!d->frame->view() || !d->frame->contentRenderer())
         return;
 
     d->frame->view()->layoutIfNeededRecursive();
index 289077e..5d4d9cc 100644 (file)
@@ -1,3 +1,11 @@
+2008-04-19  Julien Chaffraix  <jchaffraix@webkit.org>
+
+        Qt build fix (renderer() -> contentRenderer()).
+
+        * Api/qwebframe.cpp:
+        (QWebFrame::renderTreeDump):
+        (QWebFrame::render):
+
 2008-04-18  Simon Hausmann  <hausmann@webkit.org>
 
         Reviewed by Holger.