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

@ -78,7 +78,7 @@
};
</script>
<h2>Welcome to Atom Shell</h2>
<h2 style="-webkit-app-region: drag">Welcome to Atom Shell</h2>
<p>
To run your app with atom-shell, execute the following command under your

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_)