-
rniwa@webkit.org authored
Reviewed by Kent Tamura. Improve showTree of Range, Position, and VisiblePosition https://bugs.webkit.org/show_bug.cgi?id=54536 Enhanced showTree of Range, Position, and VisiblePosition. * dom/Position.cpp: (WebCore::Position::showAnchorTypeAndOffset): Added; dumps "legacy" if the position is a legacy position and also dumps anchor type. (WebCore::Position::showTreeForThis): Calls showAnchorTypeAndOffset. * dom/Position.h: * dom/Range.cpp: (showTree): No longer calls deprecatedEditingOffset. * editing/VisiblePosition.cpp: (WebCore::VisiblePosition::debugPosition): No longer included in release build. Calls Position::showAnchorTypeAndOffset instead of manually calling deprecatedEditingOffset. * editing/VisiblePosition.h: * editing/VisibleSelection.cpp: (WebCore::VisibleSelection::debugPosition): Ditto. (WebCore::VisibleSelection::showTreeForThis): Ditto. * editing/VisibleSelection.h: * page/EventHandler.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78761 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4c4be9cf