Changeset 258647 in webkit


Ignore:
Timestamp:
Mar 18, 2020 10:40:22 AM (4 years ago)
Author:
Brent Fulgham
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):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r258646 r258647  
     12020-03-18  Brent Fulgham  <bfulgham@apple.com>
     2
     3        Switch from debug ASSERT to RELEASE_ASSERT in toNPObjectProxy
     4        https://bugs.webkit.org/show_bug.cgi?id=209212
     5        <rdar://problem/59595502>
     6
     7        Reviewed by Alex Christensen.
     8
     9        * Shared/Plugins/NPObjectProxy.h:
     10        (WebKit::NPObjectProxy::toNPObjectProxy):
     11
    1122020-03-18  Brent Fulgham  <bfulgham@apple.com>
    213
  • trunk/Source/WebKit/Shared/Plugins/NPObjectProxy.h

    r157342 r258647  
    11/*
    2  * Copyright (C) 2010 Apple Inc. All rights reserved.
     2 * Copyright (C) 2010-2020 Apple Inc. All rights reserved.
    33 *
    44 * Redistribution and use in source and binary forms, with or without
     
    2424 */
    2525
    26 #ifndef NPObjectProxy_h
    27 #define NPObjectProxy_h
     26#pragma once
    2827
    2928#if ENABLE(NETSCAPE_PLUGIN_API)
     
    4746    static NPObjectProxy* toNPObjectProxy(NPObject* npObject)
    4847    {
    49         ASSERT_WITH_SECURITY_IMPLICATION(isNPObjectProxy(npObject));
     48        RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(isNPObjectProxy(npObject));
    5049        return static_cast<NPObjectProxy*>(npObject);
    5150    }
     
    9392
    9493#endif // ENABLE(NETSCAPE_PLUGIN_API)
    95 
    96 #endif // NPObjectProxy_h
Note: See TracChangeset for help on using the changeset viewer.