Title: [156295] trunk/Source/WebCore
Revision
156295
Author
[email protected]
Date
2013-09-23 14:39:58 -0700 (Mon, 23 Sep 2013)

Log Message

Try to fix GTK build.
        
Not reviewed.

* accessibility/atk/AccessibilityObjectAtk.cpp:
(WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
* accessibility/atk/WebKitAccessibleInterfaceText.cpp:
(textForRenderer):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (156294 => 156295)


--- trunk/Source/WebCore/ChangeLog	2013-09-23 21:39:30 UTC (rev 156294)
+++ trunk/Source/WebCore/ChangeLog	2013-09-23 21:39:58 UTC (rev 156295)
@@ -1,3 +1,14 @@
+2013-09-23  Antti Koivisto  <[email protected]>
+
+        Try to fix GTK build.
+        
+        Not reviewed.
+
+        * accessibility/atk/AccessibilityObjectAtk.cpp:
+        (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
+        * accessibility/atk/WebKitAccessibleInterfaceText.cpp:
+        (textForRenderer):
+
 2013-09-23  Alexandru Chiculita  <[email protected]>
 
         Web Inspector: [CSS Regions] Display CSS Regions flow name in the inspector overlay

Modified: trunk/Source/WebCore/accessibility/atk/AccessibilityObjectAtk.cpp (156294 => 156295)


--- trunk/Source/WebCore/accessibility/atk/AccessibilityObjectAtk.cpp	2013-09-23 21:39:30 UTC (rev 156294)
+++ trunk/Source/WebCore/accessibility/atk/AccessibilityObjectAtk.cpp	2013-09-23 21:39:58 UTC (rev 156295)
@@ -86,13 +86,13 @@
     if (role == ParagraphRole || role == DivRole) {
         // Don't call textUnderElement() here, because it's slow and it can
         // crash when called while we're in the middle of a subtree being deleted.
-        if (!renderer()->firstChild())
+        if (!renderer()->firstChildSlow())
             return DefaultBehavior;
 
         if (!parent->renderer() || parent->renderer()->isAnonymousBlock())
             return DefaultBehavior;
 
-        for (RenderObject* r = renderer()->firstChild(); r; r = r->nextSibling()) {
+        for (RenderObject* r = renderer()->firstChildSlow(); r; r = r->nextSibling()) {
             if (r->isAnonymousBlock())
                 return IncludeObject;
         }

Modified: trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.cpp (156294 => 156295)


--- trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.cpp	2013-09-23 21:39:30 UTC (rev 156294)
+++ trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.cpp	2013-09-23 21:39:58 UTC (rev 156295)
@@ -72,7 +72,7 @@
         return g_string_free(resultText, FALSE);
 
     // For RenderBlocks, piece together the text from the RenderText objects they contain.
-    for (RenderObject* object = renderer->firstChild(); object; object = object->nextSibling()) {
+    for (RenderObject* object = renderer->firstChildSlow(); object; object = object->nextSibling()) {
         if (object->isBR()) {
             g_string_append(resultText, "\n");
             continue;
@@ -91,7 +91,7 @@
             // current object is not a text object but some of its
             // children are, in order not to miss those portions of
             // text by not properly handling those situations
-            if (object->firstChild()) {
+            if (object->firstChildSlow()) {
                 GOwnPtr<char> objectText(textForRenderer(object));
                 g_string_append(resultText, objectText.get());
             }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to