Title: [179841] trunk/Source/WebKit/win
Revision
179841
Author
[email protected]
Date
2015-02-09 12:27:51 -0800 (Mon, 09 Feb 2015)

Log Message

AX: [Win] OBJID_CLIENT comparisons broken in 64-bit builds
https://bugs.webkit.org/show_bug.cgi?id=141391
<rdar://problem/19767342>

Reviewed by Anders Carlsson.

* WebView.cpp:
(WebView::onGetObject): Cast lParam as LONG to ensure proper word size for
comparison against OBJID_CLIENT.

Modified Paths

Diff

Modified: trunk/Source/WebKit/win/ChangeLog (179840 => 179841)


--- trunk/Source/WebKit/win/ChangeLog	2015-02-09 19:57:41 UTC (rev 179840)
+++ trunk/Source/WebKit/win/ChangeLog	2015-02-09 20:27:51 UTC (rev 179841)
@@ -1,3 +1,15 @@
+2015-02-09  Brent Fulgham  <[email protected]>
+
+        AX: [Win] OBJID_CLIENT comparisons broken in 64-bit builds
+        https://bugs.webkit.org/show_bug.cgi?id=141391
+        <rdar://problem/19767342>
+
+        Reviewed by Anders Carlsson.
+
+        * WebView.cpp:
+        (WebView::onGetObject): Cast lParam as LONG to ensure proper word size for
+        comparison against OBJID_CLIENT.
+
 2015-02-07  Chris Dumez  <[email protected]>
 
         Add Vector::removeFirstMatching() / removeAllMatching() methods taking lambda functions

Modified: trunk/Source/WebKit/win/WebView.cpp (179840 => 179841)


--- trunk/Source/WebKit/win/WebView.cpp	2015-02-09 19:57:41 UTC (rev 179840)
+++ trunk/Source/WebKit/win/WebView.cpp	2015-02-09 20:27:51 UTC (rev 179841)
@@ -6282,7 +6282,7 @@
 {
     lResult = 0;
 
-    if (lParam != OBJID_CLIENT)
+    if (static_cast<LONG>(lParam) != OBJID_CLIENT)
         return false;
 
     AXObjectCache::enableAccessibility();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to