[WK2] Coding style violation was brought with r125031
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Aug 2012 19:55:37 +0000 (19:55 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Aug 2012 19:55:37 +0000 (19:55 +0000)
https://bugs.webkit.org/show_bug.cgi?id=93503

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-08-08
Reviewed by Alexey Proskuryakov.

WKURLResponseCopyMimeType is corrected to WKURLResponseCopyMIMEType.

Source/WebKit2:

* Shared/API/c/WKURLResponse.cpp:
(WKURLResponseCopyMIMEType):
* Shared/API/c/WKURLResponse.h:

Tools:

* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::didReceiveResponseForResource):
* WebKitTestRunner/InjectedBundle/LayoutTestController.h:
(WTR::LayoutTestController::dumpProgressFinishedCallback): Removed trailing whitespace that was brought with the same revision.

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

Source/WebKit2/ChangeLog
Source/WebKit2/Shared/API/c/WKURLResponse.cpp
Source/WebKit2/Shared/API/c/WKURLResponse.h
Tools/ChangeLog
Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp
Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.h

index 83c739d..8653a2f 100644 (file)
@@ -1,5 +1,18 @@
 2012-08-08  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
 
+        [WK2] Coding style violation was brought with r125031
+        https://bugs.webkit.org/show_bug.cgi?id=93503
+
+        Reviewed by Alexey Proskuryakov.
+
+        WKURLResponseCopyMimeType is corrected to WKURLResponseCopyMIMEType.
+
+        * Shared/API/c/WKURLResponse.cpp:
+        (WKURLResponseCopyMIMEType):
+        * Shared/API/c/WKURLResponse.h:
+
+2012-08-08  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
+
         [EFL] EFL Webkit needs a class wrapping eina stringshare
         https://bugs.webkit.org/show_bug.cgi?id=93229
 
index 3cea95d..cefd07d 100644 (file)
@@ -42,7 +42,7 @@ WKURLRef WKURLResponseCopyURL(WKURLResponseRef responseRef)
     return toCopiedURLAPI(toImpl(responseRef)->resourceResponse().url());
 }
 
-WKStringRef WKURLResponseCopyMimeType(WKURLResponseRef responseRef)
+WKStringRef WKURLResponseCopyMIMEType(WKURLResponseRef responseRef)
 {
     return toCopiedAPI(toImpl(responseRef)->resourceResponse().mimeType());
 }
index c842600..8988dff 100644 (file)
@@ -36,7 +36,7 @@ WK_EXPORT WKTypeID WKURLResponseGetTypeID();
 
 WK_EXPORT WKURLRef WKURLResponseCopyURL(WKURLResponseRef);
 
-WK_EXPORT WKStringRef WKURLResponseCopyMimeType(WKURLResponseRef);
+WK_EXPORT WKStringRef WKURLResponseCopyMIMEType(WKURLResponseRef);
 
 #ifdef __cplusplus
 }
index a92a42c..360f989 100644 (file)
@@ -1,3 +1,17 @@
+2012-08-08  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
+
+        [WK2] Coding style violation was brought with r125031
+        https://bugs.webkit.org/show_bug.cgi?id=93503
+
+        Reviewed by Alexey Proskuryakov.
+
+        WKURLResponseCopyMimeType is corrected to WKURLResponseCopyMIMEType.
+
+        * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
+        (WTR::InjectedBundlePage::didReceiveResponseForResource):
+        * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
+        (WTR::LayoutTestController::dumpProgressFinishedCallback): Removed trailing whitespace that was brought with the same revision.
+
 2012-08-08  Peter Beverloo  <peter@chromium.org>
 
         Buildmaster changes in preparation of a Chromium Android tester
index 97d421e..de32cb0 100644 (file)
@@ -1000,7 +1000,7 @@ void InjectedBundlePage::didReceiveResponseForResource(WKBundlePageRef, WKBundle
 
     WKRetainPtr<WKURLRef> url = adoptWK(WKURLResponseCopyURL(response));
     WKRetainPtr<WKStringRef> urlString = adoptWK(WKURLCopyLastPathComponent(url.get()));
-    WKRetainPtr<WKStringRef> mimeTypeString = adoptWK(WKURLResponseCopyMimeType(response));
+    WKRetainPtr<WKStringRef> mimeTypeString = adoptWK(WKURLResponseCopyMIMEType(response));
 
     InjectedBundle::shared().stringBuilder()->append(toWTFString(urlString));
     InjectedBundle::shared().stringBuilder()->append(" has MIME type ");
index 5132051..517a516 100644 (file)
@@ -78,7 +78,7 @@ public:
     void dumpTitleChanges() { m_dumpTitleChanges = true; }
     void dumpFullScreenCallbacks() { m_dumpFullScreenCallbacks = true; }
     void dumpFrameLoadCallbacks() { setShouldDumpFrameLoadCallbacks(true); }
-    void dumpProgressFinishedCallback() { setShouldDumpProgressFinishedCallback(true); }    
+    void dumpProgressFinishedCallback() { setShouldDumpProgressFinishedCallback(true); }
     void dumpResourceResponseMIMETypes() { m_dumpResourceResponseMIMETypes = true; }
 
     void setShouldDumpFrameLoadCallbacks(bool value) { m_dumpFrameLoadCallbacks = value; }