Build fix for r228115, simple naming issue succeeded —> success.
authorwilander@apple.com <wilander@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 5 Feb 2018 21:41:43 +0000 (21:41 +0000)
committerwilander@apple.com <wilander@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 5 Feb 2018 21:41:43 +0000 (21:41 +0000)
https://bugs.webkit.org/show_bug.cgi?id=182507
<rdar://problem/37248566>

Reviewed by Eric Carlson.

No new tests. Build fix.

* platform/ios/VideoFullscreenInterfaceAVKit.mm:
(VideoFullscreenInterfaceAVKit::enterFullscreenHandler):
    succeeded —> success

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@228119 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm

index 168a26e..08287f8 100644 (file)
@@ -1,3 +1,17 @@
+2018-02-05  John Wilander  <wilander@apple.com>
+
+        Build fix for r228115, simple naming issue succeeded —> success.
+        https://bugs.webkit.org/show_bug.cgi?id=182507
+        <rdar://problem/37248566>
+
+        Reviewed by Eric Carlson.
+
+        No new tests. Build fix.
+
+        * platform/ios/VideoFullscreenInterfaceAVKit.mm:
+        (VideoFullscreenInterfaceAVKit::enterFullscreenHandler):
+            succeeded —> success
+
 2018-02-05  Matt Lewis  <jlewis3@apple.com>
 
         Unreviewed, rolling out r228086.
index 711c2d1..ae65d74 100644 (file)
@@ -1586,7 +1586,7 @@ void VideoFullscreenInterfaceAVKit::exitFullscreenHandler(BOOL success, NSError*
 
 void VideoFullscreenInterfaceAVKit::enterFullscreenHandler(BOOL success, NSError* error)
 {
-    if (!succeeded) {
+    if (!success) {
         WTFLogAlways("-[AVPlayerViewController enterFullScreenAnimated:completionHandler:] failed with error %s", [[error localizedDescription] UTF8String]);
         ASSERT_NOT_REACHED();
         m_videoFullscreenModel->requestFullscreenMode(HTMLMediaElementEnums::VideoFullscreenModeNone, YES);