Title: [112108] trunk/Source/WebCore
Revision
112108
Author
[email protected]
Date
2012-03-26 09:16:32 -0700 (Mon, 26 Mar 2012)

Log Message

Tried to fix the 32-bit build after r112021.

* accessibility/mac/WebAccessibilityObjectWrapper.mm:
(-[WebAccessibilityObjectWrapper _convertToNSRange:]):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (112107 => 112108)


--- trunk/Source/WebCore/ChangeLog	2012-03-26 16:11:16 UTC (rev 112107)
+++ trunk/Source/WebCore/ChangeLog	2012-03-26 16:16:32 UTC (rev 112108)
@@ -1,3 +1,10 @@
+2012-03-26  Dan Bernstein  <[email protected]>
+
+        Tried to fix the 32-bit build after r112021.
+
+        * accessibility/mac/WebAccessibilityObjectWrapper.mm:
+        (-[WebAccessibilityObjectWrapper _convertToNSRange:]):
+
 2012-03-26  Leo Yang  <[email protected]>
 
         [BlackBerry] Skeleton code of AsyncFileSystemBlackBerry.cpp

Modified: trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapper.mm (112107 => 112108)


--- trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapper.mm	2012-03-26 16:11:16 UTC (rev 112107)
+++ trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapper.mm	2012-03-26 16:16:32 UTC (rev 112108)
@@ -2773,13 +2773,17 @@
     NSRange result = NSMakeRange(NSNotFound, 0);
     if (!range || !range->startContainer())
         return result;
-    
+
     Document* document = m_object->document();
     if (!document)
         return result;
-    
-    TextIterator::getLocationAndLengthFromRange(document->documentElement(), range, result.location, result.length);
-    
+
+    size_t location;
+    size_t length;
+    TextIterator::getLocationAndLengthFromRange(document->documentElement(), range, location, length);
+    result.location = location;
+    result.length = length;
+
     return result;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to