Skip to content
  • timothy_horton@apple.com's avatar
    Remote Layer Tree: Clean up transaction logging · 29f07c10
    timothy_horton@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=123116
    
    Reviewed by Anders Carlsson.
    
    * Shared/mac/RemoteLayerTreeTransaction.mm:
    (WebKit::RemoteLayerTreeTextStream::RemoteLayerTreeTextStream):
    (WebKit::RemoteLayerTreeTextStream::increaseIndent):
    (WebKit::RemoteLayerTreeTextStream::decreaseIndent):
    (WebKit::RemoteLayerTreeTextStream::writeIndent):
    (WebKit::RemoteLayerTreeTextStream::operator<<):
    Add some stream operator overrides for various types we need to dump.
    Add a notion of current indent to our TextStream subclass to make it
    easy to keep track of where we are.
    
    (WebKit::dumpProperty):
    Added, hand any arbitrary type to RemoteLayerTreeTransaction.
    
    (WebKit::dumpChangedLayers):
    (WebKit::RemoteLayerTreeTransaction::dump):
    Make use of TextStream.
    
    * WebCore.exp.in:
    Export some TextStream functions.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    29f07c10