Index: content/browser/tab_contents/tab_contents.cc |
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc |
index 061846bf5df2c3460e6f30a67300fcbe2958921c..ac7404c2009aee9974977d8d0e06149ff0ccf8ed 100644 |
--- a/content/browser/tab_contents/tab_contents.cc |
+++ b/content/browser/tab_contents/tab_contents.cc |
@@ -1814,7 +1814,10 @@ WebPreferences TabContents::GetWebkitPrefs() { |
// Force accelerated compositing and 2d canvas off for chrome:, about: and |
// chrome-devtools: pages (unless it's specifically allowed). |
if ((GetURL().SchemeIs(chrome::kChromeDevToolsScheme) || |
+#if !defined(TOUCH_UI) |
+ // Allow accelerated compositing for keyboard and log in screen. |
GetURL().SchemeIs(chrome::kChromeUIScheme) || |
+#endif |
GetURL().SchemeIs(chrome::kAboutScheme)) && |
!web_prefs.allow_webui_compositing) { |
web_prefs.accelerated_compositing_enabled = false; |