Title: [230083] trunk/Source/WebCore
Revision
230083
Author
dba...@webkit.org
Date
2018-03-29 14:53:35 -0700 (Thu, 29 Mar 2018)

Log Message

Substitute ArchiveFactory::isArchiveMIMEType() for ArchiveFactory::isArchiveMimeType().

* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::commitLoad):
* loader/archive/ArchiveFactory.cpp:
(WebCore::ArchiveFactory::isArchiveMIMEType):
(WebCore::ArchiveFactory::isArchiveMimeType): Deleted.
* loader/archive/ArchiveFactory.h:
* platform/MIMETypeRegistry.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (230082 => 230083)


--- trunk/Source/WebCore/ChangeLog	2018-03-29 21:49:25 UTC (rev 230082)
+++ trunk/Source/WebCore/ChangeLog	2018-03-29 21:53:35 UTC (rev 230083)
@@ -1,5 +1,17 @@
 2018-03-29  Daniel Bates  <daba...@apple.com>
 
+        Substitute ArchiveFactory::isArchiveMIMEType() for ArchiveFactory::isArchiveMimeType().
+
+        * loader/DocumentLoader.cpp:
+        (WebCore::DocumentLoader::commitLoad):
+        * loader/archive/ArchiveFactory.cpp:
+        (WebCore::ArchiveFactory::isArchiveMIMEType):
+        (WebCore::ArchiveFactory::isArchiveMimeType): Deleted.
+        * loader/archive/ArchiveFactory.h:
+        * platform/MIMETypeRegistry.h:
+
+2018-03-29  Daniel Bates  <daba...@apple.com>
+
         MIMETypeRegistry should return const HashSets
         https://bugs.webkit.org/show_bug.cgi?id=184150
 

Modified: trunk/Source/WebCore/loader/DocumentLoader.cpp (230082 => 230083)


--- trunk/Source/WebCore/loader/DocumentLoader.cpp	2018-03-29 21:49:25 UTC (rev 230082)
+++ trunk/Source/WebCore/loader/DocumentLoader.cpp	2018-03-29 21:53:35 UTC (rev 230083)
@@ -941,7 +941,7 @@
     if (!frameLoader)
         return;
 #if ENABLE(WEB_ARCHIVE) || ENABLE(MHTML)
-    if (ArchiveFactory::isArchiveMimeType(response().mimeType()))
+    if (ArchiveFactory::isArchiveMIMEType(response().mimeType()))
         return;
 #endif
     frameLoader->client().committedLoad(this, data, length);

Modified: trunk/Source/WebCore/loader/archive/ArchiveFactory.cpp (230082 => 230083)


--- trunk/Source/WebCore/loader/archive/ArchiveFactory.cpp	2018-03-29 21:49:25 UTC (rev 230082)
+++ trunk/Source/WebCore/loader/archive/ArchiveFactory.cpp	2018-03-29 21:53:35 UTC (rev 230083)
@@ -78,7 +78,7 @@
     return map;
 }
 
-bool ArchiveFactory::isArchiveMimeType(const String& mimeType)
+bool ArchiveFactory::isArchiveMIMEType(const String& mimeType)
 {
     return !mimeType.isEmpty() && archiveMIMETypes().contains(mimeType);
 }

Modified: trunk/Source/WebCore/loader/archive/ArchiveFactory.h (230082 => 230083)


--- trunk/Source/WebCore/loader/archive/ArchiveFactory.h	2018-03-29 21:49:25 UTC (rev 230082)
+++ trunk/Source/WebCore/loader/archive/ArchiveFactory.h	2018-03-29 21:53:35 UTC (rev 230083)
@@ -38,7 +38,7 @@
 
 class ArchiveFactory {
 public:
-    static bool isArchiveMimeType(const String&);
+    static bool isArchiveMIMEType(const String&);
     static RefPtr<Archive> create(const URL&, SharedBuffer* data, const String& mimeType);
     static void registerKnownArchiveMIMETypes();
 };
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to