[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.16-1409-g5afdf4d
kenneth at webkit.org
kenneth at webkit.org
Thu Dec 3 13:32:28 UTC 2009
The following commit has been merged in the webkit-1.1 branch:
commit 349acefcfa4dbadae156245cc8c5ff58f4ec0cf0
Author: kenneth at webkit.org <kenneth at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Nov 11 18:44:58 2009 +0000
Fix a crash in the layout test plugins/document-open.html
Reviewed by Simon Hausmann.
* Api/qwebframe.cpp:
(QWebFrame::toPlainText):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50823 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/qt/Api/qwebframe.cpp b/WebKit/qt/Api/qwebframe.cpp
index 2f2548d..b60b266 100644
--- a/WebKit/qt/Api/qwebframe.cpp
+++ b/WebKit/qt/Api/qwebframe.cpp
@@ -471,7 +471,9 @@ QString QWebFrame::toPlainText() const
d->frame->view()->layout();
Element *documentElement = d->frame->document()->documentElement();
- return documentElement->innerText();
+ if (documentElement)
+ return documentElement->innerText();
+ return QString();
}
/*!
diff --git a/WebKit/qt/ChangeLog b/WebKit/qt/ChangeLog
index 4d89c3d..d94e859 100644
--- a/WebKit/qt/ChangeLog
+++ b/WebKit/qt/ChangeLog
@@ -7,6 +7,15 @@
* tests/qwebpage/qwebpage.pro:
* tests/qwebpage/tst_qwebpage.cpp:
+2009-11-11 Kenneth Rohde Christiansen <kenneth at webkit.org>
+
+ Reviewed by Simon Hausmann.
+
+ Fix a crash in the layout test plugins/document-open.html
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::toPlainText):
+
2009-11-11 Warwick Allison <warwick.allison at nokia.com>, Simon Hausmann <simon.hausmann at nokia.com>
Reviewed by Tor Arne Vestbø.
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list