Fix the iOS build.
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Jul 2015 21:21:45 +0000 (21:21 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Jul 2015 21:21:45 +0000 (21:21 +0000)
* WebCoreSupport/WebUserMediaClient.mm:
(-[WebUserMediaPolicyListener denyOnlyThisRequest]): Remove ASSERT_NOT_REACHED,
because it caused the compiler to warn about noreturn.

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

Source/WebKit/mac/ChangeLog
Source/WebKit/mac/WebCoreSupport/WebUserMediaClient.mm

index f82b037..da6cc5e 100644 (file)
@@ -1,3 +1,11 @@
+2015-07-01  Simon Fraser  <simon.fraser@apple.com>
+
+        Fix the iOS build.
+
+        * WebCoreSupport/WebUserMediaClient.mm:
+        (-[WebUserMediaPolicyListener denyOnlyThisRequest]): Remove ASSERT_NOT_REACHED, 
+        because it caused the compiler to warn about noreturn.
+
 2015-07-01  Matthew Daiter  <mdaiter@apple.com>
 
         Enable MEDIA_STREAM flag
index df059f9..622bd9d 100644 (file)
@@ -172,8 +172,8 @@ void WebUserMediaClient::cancelRequest(UserMediaRequest& request)
 #if PLATFORM(IOS)
 - (void)denyOnlyThisRequest
 {
-    ASSERT_NOT_REACHED();
 }
+
 - (BOOL)shouldClearCache
 {
     // FIXME: https://bugs.webkit.org/show_bug.cgi?id=146245