Title: [263923] trunk/Source/WebCore
Revision
263923
Author
[email protected]
Date
2020-07-03 17:42:18 -0700 (Fri, 03 Jul 2020)

Log Message

[Win] Unreviewed stack-overflow crash fix for r263890
https://bugs.webkit.org/show_bug.cgi?id=213912
<rdar://problem/65069686>

Renamed mimeTypeForExtension to mimeTypeForExtensionFromRegistry.

* platform/win/MIMETypeRegistryWin.cpp:
(WebCore::mimeTypeForExtensionFromRegistry):
(WebCore::MIMETypeRegistry::mimeTypeForExtension):
(WebCore::mimeTypeForExtension): Deleted.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (263922 => 263923)


--- trunk/Source/WebCore/ChangeLog	2020-07-04 00:30:16 UTC (rev 263922)
+++ trunk/Source/WebCore/ChangeLog	2020-07-04 00:42:18 UTC (rev 263923)
@@ -1,5 +1,18 @@
 2020-07-03  Fujii Hironori  <[email protected]>
 
+        [Win] Unreviewed stack-overflow crash fix for r263890
+        https://bugs.webkit.org/show_bug.cgi?id=213912
+        <rdar://problem/65069686>
+
+        Renamed mimeTypeForExtension to mimeTypeForExtensionFromRegistry.
+
+        * platform/win/MIMETypeRegistryWin.cpp:
+        (WebCore::mimeTypeForExtensionFromRegistry):
+        (WebCore::MIMETypeRegistry::mimeTypeForExtension):
+        (WebCore::mimeTypeForExtension): Deleted.
+
+2020-07-03  Fujii Hironori  <[email protected]>
+
         [Win] Unreviewed build fix for r263913
         https://bugs.webkit.org/show_bug.cgi?id=213939
         <rdar://problem/65084185>

Modified: trunk/Source/WebCore/platform/win/MIMETypeRegistryWin.cpp (263922 => 263923)


--- trunk/Source/WebCore/platform/win/MIMETypeRegistryWin.cpp	2020-07-04 00:30:16 UTC (rev 263922)
+++ trunk/Source/WebCore/platform/win/MIMETypeRegistryWin.cpp	2020-07-04 00:42:18 UTC (rev 263923)
@@ -33,7 +33,7 @@
 
 namespace WebCore {
 
-static String mimeTypeForExtension(const String& extension)
+static String mimeTypeForExtensionFromRegistry(const String& extension)
 {
     String ext = "." + extension;
     WCHAR contentTypeStr[256];
@@ -102,7 +102,7 @@
     }
     String result = mimetypeMap.get(ext);
     if (result.isEmpty()) {
-        result = mimeTypeForExtension(ext);
+        result = mimeTypeForExtensionFromRegistry(ext);
         if (!result.isEmpty())
             mimetypeMap.add(ext, result);
     }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to