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