Convert chrome func to forge one.