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

Unified Diff: chrome/browser/ui/browser_init.cc

Issue 7015015: Add infobar warning when accelerated 2d canvas is enabled. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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: chrome/browser/ui/browser_init.cc
===================================================================
--- chrome/browser/ui/browser_init.cc (revision 84902)
+++ chrome/browser/ui/browser_init.cc (working copy)
@@ -1047,6 +1047,10 @@
// Unsupported flags for which to display a warning that "stability and
// security will suffer".
static const char* kBadFlags[] = {
+ // Warn when accelerated 2d canvas is enabled as its presence can
+ // affect stability and rendering correctness of certain pages.
+ // TODO(vangelis): Remove when accelerated 2d canvas is enabled by default.
+ switches::kEnableAccelerated2dCanvas,
// These imply disabling the sandbox.
switches::kSingleProcess,
switches::kNoSandbox,
« 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