Changeset 273210 in webkit


Ignore:
Timestamp:
Feb 20, 2021 4:38:20 PM (3 years ago)
Author:
Simon Fraser
Message:

Fix the build when TREE_DEBUGGING is enabled in release builds
https://bugs.webkit.org/show_bug.cgi?id=222238

Reviewed by Zalan Bujtas.

FloatingObjects logging needs to use ENABLE(TREE_DEBUGGING) not #ifndef NDEBUG.

  • rendering/FloatingObjects.cpp:
  • rendering/FloatingObjects.h:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r273209 r273210  
     12021-02-20  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Fix the build when TREE_DEBUGGING is enabled in release builds
     4        https://bugs.webkit.org/show_bug.cgi?id=222238
     5
     6        Reviewed by Zalan Bujtas.
     7
     8        FloatingObjects logging needs to use ENABLE(TREE_DEBUGGING) not #ifndef NDEBUG.
     9
     10        * rendering/FloatingObjects.cpp:
     11        * rendering/FloatingObjects.h:
     12
    1132021-02-20  Jiewen Tan  <jiewen_tan@apple.com>
    214
  • trunk/Source/WebCore/rendering/FloatingObjects.cpp

    r271933 r273210  
    108108}
    109109
    110 #ifndef NDEBUG
     110#if ENABLE(TREE_DEBUGGING)
    111111
    112112TextStream& operator<<(TextStream& stream, const FloatingObject& object)
  • trunk/Source/WebCore/rendering/FloatingObjects.h

    r271933 r273210  
    190190};
    191191
    192 #ifndef NDEBUG
     192#if ENABLE(TREE_DEBUGGING)
    193193TextStream& operator<<(TextStream&, const FloatingObject&);
    194194#endif
Note: See TracChangeset for help on using the changeset viewer.