[Mac] Fix the build

[chromium-style] Overriding method must have "virtual" keyword.
Merge pull request #1112 from poussa/mac-compile-9

[Mac] Fix the build