Changeset 258645 in webkit


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

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

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

    r242325 r258645  
    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 PluginQuirks_h
    27 #define PluginQuirks_h
     26#pragma once
    2827
    2928namespace WebKit {
     
    107106    {
    108107        ASSERT(quirk >= 0);
    109         ASSERT_WITH_SECURITY_IMPLICATION(quirk < NumPluginQuirks);
     108        RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(quirk < NumPluginQuirks);
    110109       
    111110        m_quirks |= (1 << quirk);
     
    122121
    123122} // namespace WebKit
    124 
    125 #endif // PluginQuirkSet_h
Note: See TracChangeset for help on using the changeset viewer.