Skip to content
  • andersca@apple.com's avatar
    Decode invocation arguments · 40eb4a94
    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=123917
    
    Reviewed by Sam Weinig.
    
    * Shared/API/Cocoa/WKRemoteObjectCoder.mm:
    (-[WKRemoteObjectDecoder initWithInterface:rootObjectDictionary:WebKit::]):
    Initialize the object stream.
    
    (decodeObjectFromObjectStream):
    Check that we're not reading past the end of the stream, then decode the object.
    
    (decodeInvocationArguments):
    Decode arguments from the object stream.
    
    (decodeInvocation):
    Call decodeInvocationArguments and set up the selector argument.
    
    * Shared/ImmutableArray.h:
    (WebKit::ImmutableArray::at):
    (WebKit::ImmutableArray::size):
    (WebKit::ImmutableArray::entries):
    Constify.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158780 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    40eb4a94