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

Unified Diff: chrome/browser/about_flags.cc

Issue 2337243003: Fix ENABLE_SWIFTSHADER flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: disable by default Created 4 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 | « chrome/browser/BUILD.gn ('k') | chrome/browser/component_updater/swiftshader_component_installer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 1c749c697ffc2999081869494cc8faececd7019c..e3f688256fb169b4749068f4bc8504bd49c32ecb 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -76,6 +76,7 @@
#include "ui/display/display_switches.h"
#include "ui/events/event_switches.h"
#include "ui/gfx/switches.h"
+#include "ui/gl/gl_features.h"
#include "ui/gl/gl_switches.h"
#include "ui/keyboard/keyboard_switches.h"
#include "ui/native_theme/native_theme_switches.h"
@@ -805,7 +806,7 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(features::kV8Ignition)},
{"disable-software-rasterizer", IDS_FLAGS_SOFTWARE_RASTERIZER_NAME,
IDS_FLAGS_SOFTWARE_RASTERIZER_DESCRIPTION,
-#if defined(ENABLE_SWIFTSHADER)
+#if BUILDFLAG(ENABLE_SWIFTSHADER)
kOsAll,
#else
0,
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/component_updater/swiftshader_component_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698