Enable accelerated composition in frameless window.
This commit is contained in:
parent
dd6f8669a1
commit
e150a3e3b2
2 changed files with 1 additions and 5 deletions
|
@ -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_)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue