Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(449)

Unified Diff: content/browser/tab_contents/tab_contents.cc

Issue 7782021: Revert 99688 - Allow gpu features for about:blank (unlike other about: schemes) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tab_contents/tab_contents.cc
===================================================================
--- content/browser/tab_contents/tab_contents.cc (revision 99874)
+++ content/browser/tab_contents/tab_contents.cc (working copy)
@@ -1802,8 +1802,7 @@
// chrome-devtools: pages (unless it's specifically allowed).
if ((GetURL().SchemeIs(chrome::kChromeDevToolsScheme) ||
GetURL().SchemeIs(chrome::kChromeUIScheme) ||
- (GetURL().SchemeIs(chrome::kAboutScheme) &&
- GetURL().spec() != chrome::kAboutBlankURL)) &&
+ GetURL().SchemeIs(chrome::kAboutScheme)) &&
!web_prefs.allow_webui_compositing) {
web_prefs.accelerated_compositing_enabled = false;
web_prefs.accelerated_2d_canvas_enabled = false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698