Unreviewed. Fix the build warnings below since r253353.
authorjh718.park@samsung.com <jh718.park@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Dec 2019 05:46:54 +0000 (05:46 +0000)
committerjh718.park@samsung.com <jh718.park@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Dec 2019 05:46:54 +0000 (05:46 +0000)
warning: unused parameter 'foo' [-Wunused-parameter]

Also, remove unnecessary tab spaces from Internals.h.

No new tests, no new behavioral changes.

Patch by Joonghun Park <jh718.park@samsung.com> on 2019-12-12

* testing/Internals.cpp:
(WebCore::Internals::hasSandboxMachLookupAccessToGlobalName):
* testing/Internals.h:

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

Source/WebCore/ChangeLog
Source/WebCore/testing/Internals.cpp
Source/WebCore/testing/Internals.h

index 3c73866..35d1d34 100644 (file)
@@ -1,3 +1,16 @@
+2019-12-12  Joonghun Park  <jh718.park@samsung.com>
+
+        Unreviewed. Fix the build warnings below since r253353.
+        warning: unused parameter 'foo' [-Wunused-parameter]
+
+        Also, remove unnecessary tab spaces from Internals.h.
+
+        No new tests, no new behavioral changes.
+
+        * testing/Internals.cpp:
+        (WebCore::Internals::hasSandboxMachLookupAccessToGlobalName):
+        * testing/Internals.h:
+
 2019-12-12  Jack Lee  <shihchieh_lee@apple.com>
 
         Protect lifetime of frame and frameView objects
index e077796..fa3b4e3 100644 (file)
@@ -5357,6 +5357,8 @@ bool Internals::hasSandboxMachLookupAccessToGlobalName(const String& process, co
 
     return !sandbox_check(pid, "mach-lookup", static_cast<enum sandbox_filter_type>(SANDBOX_FILTER_GLOBAL_NAME | SANDBOX_CHECK_NO_REPORT), service.utf8().data());
 #else
+    UNUSED_PARAM(process);
+    UNUSED_PARAM(service);
     return false;
 #endif
 }
index 3577437..20f4c7c 100644 (file)
@@ -912,7 +912,7 @@ public:
 
     Ref<InternalsSetLike> createInternalsSetLike();
     Ref<InternalsMapLike> createInternalsMapLike();
-        
+
     bool hasSandboxMachLookupAccessToGlobalName(const String& process, const String& service);
 
     String highlightPseudoElementColor(const String& highlightName, Element&);