Title: [161707] trunk/Source/WebCore
Revision
161707
Author
[email protected]
Date
2014-01-10 17:29:51 -0800 (Fri, 10 Jan 2014)

Log Message

A couple of iOS build fixes.

* accessibility/ios/AXObjectCacheIOS.mm:
(WebCore::AXObjectCache::handleFocusedUIElementChanged):
* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::drawImage):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (161706 => 161707)


--- trunk/Source/WebCore/ChangeLog	2014-01-11 01:29:49 UTC (rev 161706)
+++ trunk/Source/WebCore/ChangeLog	2014-01-11 01:29:51 UTC (rev 161707)
@@ -1,3 +1,12 @@
+2014-01-10  Simon Fraser  <[email protected]>
+
+        A couple of iOS build fixes.
+
+        * accessibility/ios/AXObjectCacheIOS.mm:
+        (WebCore::AXObjectCache::handleFocusedUIElementChanged):
+        * html/canvas/CanvasRenderingContext2D.cpp:
+        (WebCore::CanvasRenderingContext2D::drawImage):
+
 2014-01-10  Joseph Pecoraro  <[email protected]>
 
         Fix PlatformScreenIOS.mm for iOS. Unreviewed build fix.

Modified: trunk/Source/WebCore/accessibility/ios/AXObjectCacheIOS.mm (161706 => 161707)


--- trunk/Source/WebCore/accessibility/ios/AXObjectCacheIOS.mm	2014-01-11 01:29:49 UTC (rev 161706)
+++ trunk/Source/WebCore/accessibility/ios/AXObjectCacheIOS.mm	2014-01-11 01:29:51 UTC (rev 161707)
@@ -100,7 +100,7 @@
 
 void AXObjectCache::handleFocusedUIElementChanged(Node*, Node* newNode)
 {
-    postNotification(newNode, AXFocusedUIElementChanged, true, PostAsynchronously);
+    postNotification(newNode, AXFocusedUIElementChanged, TargetElement, PostAsynchronously);
 }
 
 void AXObjectCache::handleScrolledToAnchor(const Node*)

Modified: trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp (161706 => 161707)


--- trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp	2014-01-11 01:29:49 UTC (rev 161706)
+++ trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp	2014-01-11 01:29:51 UTC (rev 161707)
@@ -1458,7 +1458,11 @@
 
 #if USE(CG)
     if (PassNativeImagePtr image = video->nativeImageForCurrentTime()) {
-        c->drawNativeImage(image, FloatSize(video->videoWidth(), video->videoHeight()), ColorSpaceDeviceRGB, dstRect, srcRect);
+        c->drawNativeImage(image, FloatSize(video->videoWidth(), video->videoHeight()), ColorSpaceDeviceRGB, dstRect, srcRect
+#if PLATFORM(IOS)
+            , DefaultImageOrientation
+#endif
+            );
         if (rectContainsCanvas(dstRect))
             didDrawEntireCanvas();
         else
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to