From: Cheng Zhao Date: Wed, 9 Jul 2014 11:05:24 +0000 (+0800) Subject: Enable accelerated composition in frameless window. X-Git-Tag: v0.14.0~1^2~41 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=e150a3e3b25aaa572aaddbe2b0302627f96d1e88;p=electron.git Enable accelerated composition in frameless window. --- diff --git a/atom/browser/default_app/index.html b/atom/browser/default_app/index.html index 2b85bd7b..df600124 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 527da4a7..c853cf6d 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_)