Title: [258645] trunk/Source/WebKit
Revision
258645
Author
bfulg...@apple.com
Date
2020-03-18 10:24:01 -0700 (Wed, 18 Mar 2020)

Log Message

Switch from debug ASSERT to RELEASE_ASSERT in PluginQuirks.h
https://bugs.webkit.org/show_bug.cgi?id=209213
<rdar://problem/59595834>

Reviewed by Alex Christensen.

* Shared/Plugins/PluginQuirks.h:
(WebKit::PluginQuirks::add):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (258644 => 258645)


--- trunk/Source/WebKit/ChangeLog	2020-03-18 17:09:33 UTC (rev 258644)
+++ trunk/Source/WebKit/ChangeLog	2020-03-18 17:24:01 UTC (rev 258645)
@@ -1,3 +1,14 @@
+2020-03-18  Brent Fulgham  <bfulg...@apple.com>
+
+        Switch from debug ASSERT to RELEASE_ASSERT in PluginQuirks.h
+        https://bugs.webkit.org/show_bug.cgi?id=209213
+        <rdar://problem/59595834>
+
+        Reviewed by Alex Christensen.
+
+        * Shared/Plugins/PluginQuirks.h:
+        (WebKit::PluginQuirks::add):
+
 2020-03-18  youenn fablet  <you...@apple.com>
 
         REGRESSION (r257472): Can't start old Safari with new WebKit (dyld: Symbol not found: _WKContextConfigurationSetShouldCaptureAudioInUIProcess)

Modified: trunk/Source/WebKit/Shared/Plugins/PluginQuirks.h (258644 => 258645)


--- trunk/Source/WebKit/Shared/Plugins/PluginQuirks.h	2020-03-18 17:09:33 UTC (rev 258644)
+++ trunk/Source/WebKit/Shared/Plugins/PluginQuirks.h	2020-03-18 17:24:01 UTC (rev 258645)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
+ * Copyright (C) 2010-2020 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef PluginQuirks_h
-#define PluginQuirks_h
+#pragma once
 
 namespace WebKit {
 
@@ -106,7 +105,7 @@
     void add(PluginQuirk quirk)
     {
         ASSERT(quirk >= 0);
-        ASSERT_WITH_SECURITY_IMPLICATION(quirk < NumPluginQuirks);
+        RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(quirk < NumPluginQuirks);
         
         m_quirks |= (1 << quirk);
     }
@@ -121,5 +120,3 @@
 };
 
 } // namespace WebKit
-
-#endif // PluginQuirkSet_h
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to