Changeset 261939 in webkit


Ignore:
Timestamp:
May 20, 2020 11:49:58 AM (4 years ago)
Author:
ChangSeok Oh
Message:

Move the TextStream logging definition in VisibleSelection.cpp to the outside of the TREE_DEBUGGING guard
https://bugs.webkit.org/show_bug.cgi?id=212127

Reviewed by Simon Fraser.

A linking failure occurs after r261819 where ENABLE_TREE_DEBUGGING is disabled.
The TextStream logging defining is placed inside the guard while its declaration is not since r218976.

Build fix, no functionality changed.

  • editing/VisibleSelection.cpp:

(WebCore::operator<<):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r261934 r261939  
     12020-05-20  ChangSeok Oh  <changseok@webkit.org>
     2
     3        Move the TextStream logging definition in VisibleSelection.cpp to the outside of the TREE_DEBUGGING guard
     4        https://bugs.webkit.org/show_bug.cgi?id=212127
     5
     6        Reviewed by Simon Fraser.
     7
     8        A linking failure occurs after r261819 where ENABLE_TREE_DEBUGGING is disabled.
     9        The TextStream logging defining is placed inside the guard while its declaration is not since r218976.
     10
     11        Build fix, no functionality changed.
     12
     13        * editing/VisibleSelection.cpp:
     14        (WebCore::operator<<):
     15
    1162020-05-20  Andres Gonzalez  <andresg_22@apple.com>
    217
  • trunk/Source/WebCore/editing/VisibleSelection.cpp

    r261776 r261939  
    735735    }
    736736}
    737    
     737
     738#endif
     739
    738740TextStream& operator<<(TextStream& stream, const VisibleSelection& v)
    739741{
    740742    TextStream::GroupScope scope(stream);
    741743    stream << "VisibleSelection " << &v;
    742    
     744
    743745    stream.dumpProperty("base", v.base());
    744746    stream.dumpProperty("extent", v.extent());
    745747    stream.dumpProperty("start", v.start());
    746748    stream.dumpProperty("end", v.end());
    747    
     749
    748750    return stream;
    749751}
    750 
    751 #endif
    752752
    753753} // namespace WebCore
Note: See TracChangeset for help on using the changeset viewer.