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

Unified Diff: extensions/common/manifest_handlers/requirements_info.cc

Issue 239083006: Change ACCELERATED_COMPOSITING blacklist to GPU_COMPOSITING. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: blacklistaccel: tests Created 6 years, 8 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 | « extensions/common/manifest_handlers/requirements_info.h ('k') | gpu/config/gpu_blacklist.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/manifest_handlers/requirements_info.cc
diff --git a/extensions/common/manifest_handlers/requirements_info.cc b/extensions/common/manifest_handlers/requirements_info.cc
index bc26170d91a05f329d092d8e54a6cf082da28483..9a2a22b92aaf39ddfb247ecbd48aa2754b749178 100644
--- a/extensions/common/manifest_handlers/requirements_info.cc
+++ b/extensions/common/manifest_handlers/requirements_info.cc
@@ -18,7 +18,6 @@ namespace errors = manifest_errors;
RequirementsInfo::RequirementsInfo(const Manifest* manifest)
: webgl(false),
- css3d(false),
npapi(false),
window_shape(false) {
// Before parsing requirements from the manifest, automatically default the
@@ -121,7 +120,8 @@ bool RequirementsHandler::Parse(Extension* extension, base::string16* error) {
if (feature == "webgl") {
requirements->webgl = true;
} else if (feature == "css3d") {
- requirements->css3d = true;
+ // css3d is always available, so no check is needed, but no error is
+ // generated.
} else {
*error = ErrorUtils::FormatErrorMessageUTF16(
errors::kInvalidRequirement, iter.key());
« no previous file with comments | « extensions/common/manifest_handlers/requirements_info.h ('k') | gpu/config/gpu_blacklist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698