summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorrbyers@chromium.org <rbyers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-14 15:42:26 +0000
committerrbyers@chromium.org <rbyers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-14 15:42:26 +0000
commitf1d34fd99329613bb174cb9907f2dea2eb2ba666 (patch)
tree34a7bdaae48bbe278b44c12de5773110b79aa732 /content
parent2a9b0336df03a415067fda3f384d5d2e4f2cd49a (diff)
downloadchromium_src-f1d34fd99329613bb174cb9907f2dea2eb2ba666.zip
chromium_src-f1d34fd99329613bb174cb9907f2dea2eb2ba666.tar.gz
chromium_src-f1d34fd99329613bb174cb9907f2dea2eb2ba666.tar.bz2
Disable accelerated compositing in component extensions
The policy for having accelerated compositing enabled for chrome WebUI should be consistent across the different types of URLs. In particular, this works around an issue that was causing the open file manager dialog to be extremely slow on Alex devices (it's still quite slow, but nearly 2x faster with this change - see crbug.com/112628). This change also removes a comment in related code that was stale (the code to which it refers was removed as part of TOUCH_UI cleanup). TBR=ben@chromium.org (trivial comment fix) BUG=105181 TEST=Run ChromeOS with the FPS counter enabled and verify that you don't get an FPS counter on Open file dialog windows. Review URL: http://codereview.chromium.org/9385011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121888 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/browser/tab_contents/tab_contents.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
index aaacf1b..370d825 100644
--- a/content/browser/tab_contents/tab_contents.cc
+++ b/content/browser/tab_contents/tab_contents.cc
@@ -443,7 +443,6 @@ WebPreferences TabContents::GetWebkitPrefs(RenderViewHost* rvh,
// Force accelerated compositing and 2d canvas off for chrome:, about: and
// chrome-devtools: pages (unless it's specifically allowed).
if ((url.SchemeIs(chrome::kChromeDevToolsScheme) ||
- // Allow accelerated compositing for keyboard and log in screen.
url.SchemeIs(chrome::kChromeUIScheme) ||
(url.SchemeIs(chrome::kAboutScheme) &&
url.spec() != chrome::kAboutBlankURL)) &&