Enable accelerated composition in frameless window.

This commit is contained in:
Cheng Zhao 2014-07-09 19:05:24 +08:00
parent dd6f8669a1
commit e150a3e3b2
2 changed files with 1 additions and 5 deletions

View file

@ -329,10 +329,6 @@ void NativeWindow::AppendExtraCommandLineSwitches(
}
void NativeWindow::OverrideWebkitPrefs(const GURL& url, WebPreferences* prefs) {
// FIXME Disable accelerated composition in frameless window.
if (!has_frame_)
prefs->accelerated_compositing_enabled = false;
bool b;
std::vector<base::FilePath> list;
if (!web_preferences_)