Title: [283280] trunk/Source/WebKit
Revision
283280
Author
[email protected]
Date
2021-09-29 16:31:55 -0700 (Wed, 29 Sep 2021)

Log Message

Add a default return value in convertToExceptionCode
https://bugs.webkit.org/show_bug.cgi?id=230989

Reviewed by Chris Dumez.

To fix non-Cocoa build.

* NetworkProcess/storage/FileSystemStorageError.h:
(WebKit::convertToExceptionCode):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (283279 => 283280)


--- trunk/Source/WebKit/ChangeLog	2021-09-29 23:31:34 UTC (rev 283279)
+++ trunk/Source/WebKit/ChangeLog	2021-09-29 23:31:55 UTC (rev 283280)
@@ -1,3 +1,15 @@
+2021-09-29  Sihui Liu  <[email protected]>
+
+        Add a default return value in convertToExceptionCode
+        https://bugs.webkit.org/show_bug.cgi?id=230989
+
+        Reviewed by Chris Dumez.
+
+        To fix non-Cocoa build.
+
+        * NetworkProcess/storage/FileSystemStorageError.h:
+        (WebKit::convertToExceptionCode):
+
 2021-09-29  BJ Burg  <[email protected]>
 
         [Cocoa] add _WKInspectorExtension SPI to evaluate script on an extension tab

Modified: trunk/Source/WebKit/NetworkProcess/storage/FileSystemStorageError.h (283279 => 283280)


--- trunk/Source/WebKit/NetworkProcess/storage/FileSystemStorageError.h	2021-09-29 23:31:34 UTC (rev 283279)
+++ trunk/Source/WebKit/NetworkProcess/storage/FileSystemStorageError.h	2021-09-29 23:31:55 UTC (rev 283280)
@@ -50,8 +50,10 @@
     case FileSystemStorageError::InvalidName:
         return WebCore::ExceptionCode::UnknownError;
     case FileSystemStorageError::Unknown:
-        return WebCore::ExceptionCode::UnknownError;
+        break;
     }
+
+    return WebCore::ExceptionCode::UnknownError;
 }
 
 } // namespace WebKit
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to