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

Unified Diff: cc/output/vulkan_in_process_context_provider.h

Issue 2746363002: Reland of move enable_vulkan from build/config, and move it to the buildflag_header system. (Closed)
Patch Set: 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 | « cc/BUILD.gn ('k') | cc/output/vulkan_in_process_context_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/vulkan_in_process_context_provider.h
diff --git a/cc/output/vulkan_in_process_context_provider.h b/cc/output/vulkan_in_process_context_provider.h
index c477f2f3eee20c233393ce79346f8d52188a52c9..2cca29772cfbeeabe3c5df22b67204ba44244382 100644
--- a/cc/output/vulkan_in_process_context_provider.h
+++ b/cc/output/vulkan_in_process_context_provider.h
@@ -9,6 +9,7 @@
#include "cc/base/cc_export.h"
#include "cc/output/vulkan_context_provider.h"
+#include "gpu/vulkan/features.h"
namespace gpu {
class VulkanDeviceQueue;
@@ -31,7 +32,7 @@
~VulkanInProcessContextProvider() override;
private:
-#if defined(ENABLE_VULKAN)
+#if BUILDFLAG(ENABLE_VULKAN)
std::unique_ptr<gpu::VulkanDeviceQueue> device_queue_;
#endif
« no previous file with comments | « cc/BUILD.gn ('k') | cc/output/vulkan_in_process_context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698