Index: content/browser/gpu/compositor_util.cc |
diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc |
index ba27c1224d457d44c7fc1a67e7f5bccedf88daad..1fcc0a5ead04586ca3b24eef0fcba63a1c4a0792 100644 |
--- a/content/browser/gpu/compositor_util.cc |
+++ b/content/browser/gpu/compositor_util.cc |
@@ -270,6 +270,13 @@ bool IsForceGpuRasterizationEnabled() { |
return command_line.HasSwitch(switches::kForceGpuRasterization); |
} |
+bool UseSurfacesEnabled() { |
+ const base::CommandLine& command_line = |
+ *base::CommandLine::ForCurrentProcess(); |
+ |
+ return command_line.HasSwitch(switches::kUseSurfaces); |
+} |
+ |
base::Value* GetFeatureStatus() { |
GpuDataManagerImpl* manager = GpuDataManagerImpl::GetInstance(); |
std::string gpu_access_blocked_reason; |