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

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

Issue 2737983002: WebGL feature will only enabled when accelerated (Closed)
Patch Set: Reverted WebGL2 change and renamed wegl -> accelerated_webgl Created 3 years, 9 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 | « content/public/browser/gpu_data_manager.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 d73af89c0902de0c689f704675ed6525e5980fdc..90de4398a45de6b4fa6ed1b533f174158e78a2bc 100644
--- a/extensions/common/manifest_handlers/requirements_info.cc
+++ b/extensions/common/manifest_handlers/requirements_info.cc
@@ -118,7 +118,7 @@ bool RequirementsHandler::Parse(Extension* extension, base::string16* error) {
feature_iter != features->end(); ++feature_iter) {
std::string feature;
if ((*feature_iter)->GetAsString(&feature)) {
- if (feature == "webgl") {
+ if (feature == "accelerated_webgl") {
sugoi1 2017/03/10 21:22:03 I think this one is wrong, will revert.
requirements->webgl = true;
} else if (feature == "css3d") {
// css3d is always available, so no check is needed, but no error is
« no previous file with comments | « content/public/browser/gpu_data_manager.h ('k') | gpu/config/gpu_blacklist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698