Skip to content
  • Simon Hausmann's avatar
    Fix marking of prototype objects in chain · b50090e7
    Simon Hausmann authored
    
    
    With a real prototype chain it can happen that an internal class' prototype's
    class itself has a prototype. Therefore the first transition on the empty class
    is a PrototypeChange one, but the class the transition leads to may have
    PrototypeChange transitions itself, which weren't marked.
    
    There are multiple solutions to this, but this patch is the minimal fix by
    recursing fully through the internal class tree. That way it's easier to
    back-port the fix also into 5.2.x based branches.
    
    Task-number: QTBUG-37834
    
    Change-Id: I901b13a2663fbad5844003ca5752f2f304de320c
    Reviewed-by: default avatarLars Knoll <lars.knoll@digia.com>
    b50090e7