Fixed some chromium bugs