browser/window/animation_frame: follow coding style