Title: [258647] trunk/Source/WebKit
Revision
258647
Author
[email protected]
Date
2020-03-18 10:40:22 -0700 (Wed, 18 Mar 2020)

Log Message

Switch from debug ASSERT to RELEASE_ASSERT in toNPObjectProxy
https://bugs.webkit.org/show_bug.cgi?id=209212
<rdar://problem/59595502>

Reviewed by Alex Christensen.

* Shared/Plugins/NPObjectProxy.h:
(WebKit::NPObjectProxy::toNPObjectProxy):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (258646 => 258647)


--- trunk/Source/WebKit/ChangeLog	2020-03-18 17:37:00 UTC (rev 258646)
+++ trunk/Source/WebKit/ChangeLog	2020-03-18 17:40:22 UTC (rev 258647)
@@ -1,5 +1,16 @@
 2020-03-18  Brent Fulgham  <[email protected]>
 
+        Switch from debug ASSERT to RELEASE_ASSERT in toNPObjectProxy
+        https://bugs.webkit.org/show_bug.cgi?id=209212
+        <rdar://problem/59595502>
+
+        Reviewed by Alex Christensen.
+
+        * Shared/Plugins/NPObjectProxy.h:
+        (WebKit::NPObjectProxy::toNPObjectProxy):
+
+2020-03-18  Brent Fulgham  <[email protected]>
+
         Switch to release asserts for MediaDeviceSandboxExtension class
         https://bugs.webkit.org/show_bug.cgi?id=209211
         <rdar://problem/59595299>

Modified: trunk/Source/WebKit/Shared/Plugins/NPObjectProxy.h (258646 => 258647)


--- trunk/Source/WebKit/Shared/Plugins/NPObjectProxy.h	2020-03-18 17:37:00 UTC (rev 258646)
+++ trunk/Source/WebKit/Shared/Plugins/NPObjectProxy.h	2020-03-18 17:40:22 UTC (rev 258647)
@@ -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 NPObjectProxy_h
-#define NPObjectProxy_h
+#pragma once
 
 #if ENABLE(NETSCAPE_PLUGIN_API)
 
@@ -46,7 +45,7 @@
     
     static NPObjectProxy* toNPObjectProxy(NPObject* npObject)
     {
-        ASSERT_WITH_SECURITY_IMPLICATION(isNPObjectProxy(npObject));
+        RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(isNPObjectProxy(npObject));
         return static_cast<NPObjectProxy*>(npObject);
     }
 
@@ -92,5 +91,3 @@
 } // namespace WebKit
 
 #endif // ENABLE(NETSCAPE_PLUGIN_API)
-
-#endif // NPObjectProxy_h
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to