[SCM] WebKit Debian packaging branch, debian/unstable, updated. upstream/1.1.20-241-g73d16d1
Gustavo Noronha Silva
kov at debian.org
Thu Feb 4 22:26:39 UTC 2010
The following commit has been merged in the debian/unstable branch:
commit ef2289ceba5ac0e40ed30fdf559a99d2f8861d8f
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Feb 4 18:35:38 2010 +0000
2010-02-04 José Millán Soto <jmillan at igalia.com>
Reviewed by Xan Lopez.
[Gtk] webkitgtk crashed when Orca open
https://bugs.webkit.org/show_bug.cgi?id=34463
* accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
(textForObject):
Checking if render objects are texts before calling toRenderText
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54355 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/accessibility/gtk/AccessibilityObjectWrapperAtk.cpp b/WebCore/accessibility/gtk/AccessibilityObjectWrapperAtk.cpp
index 87070cd..ac6a2c4 100644
--- a/WebCore/accessibility/gtk/AccessibilityObjectWrapperAtk.cpp
+++ b/WebCore/accessibility/gtk/AccessibilityObjectWrapperAtk.cpp
@@ -884,14 +884,14 @@ gchar* textForObject(AccessibilityRenderObject* accObject)
continue;
}
- RenderText* renderText = toRenderText(obj);
- // Be sure we have a RenderText object we can work with.
- if (!renderText || !obj->isText()) {
+ RenderText* renderText;
+ if (obj->isText())
+ renderText = toRenderText(obj);
+ else if (obj->firstChild() && obj->firstChild()->isText()) {
// Handle RenderInlines (and any other similiar RenderObjects).
renderText = toRenderText(obj->firstChild());
- if (!renderText)
- continue;
- }
+ } else
+ continue;
InlineTextBox* box = renderText->firstTextBox();
while (box) {
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list