From e150a3e3b25aaa572aaddbe2b0302627f96d1e88 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 9 Jul 2014 19:05:24 +0800 Subject: [PATCH] Enable accelerated composition in frameless window. --- atom/browser/default_app/index.html | 2 +- atom/browser/native_window.cc | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/atom/browser/default_app/index.html b/atom/browser/default_app/index.html index 2b85bd7b37d..df600124283 100644 --- a/atom/browser/default_app/index.html +++ b/atom/browser/default_app/index.html @@ -78,7 +78,7 @@ }; -

Welcome to Atom Shell

+

Welcome to Atom Shell

To run your app with atom-shell, execute the following command under your diff --git a/atom/browser/native_window.cc b/atom/browser/native_window.cc index 527da4a70a5..c853cf6de97 100644 --- a/atom/browser/native_window.cc +++ b/atom/browser/native_window.cc @@ -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 list; if (!web_preferences_)