patch for https://code.google.com/p/chromium/issues/detail?id=319695