[Mac] Fix the build

[chromium-style] Overriding method must have "virtual" keyword.