[XWALK-DRIVER] refactor frame tracker