[CLEANUP] Review comment of getPageAndRootline()