Perform transition on this.
This function must be called with STATE_LOCK held and is mainly used internally.
| this |
a Element |
| transition |
the requested transition |
|
the StateChangeReturn of the state transition. |