| Index: ui/gl/gpu_switching_manager.h
|
| diff --git a/ui/gl/gpu_switching_manager.h b/ui/gl/gpu_switching_manager.h
|
| index 6327798132bf5dca1cd7cab7a4ca7717185d9f80..7849d4acb716c67f1ccd6dcd15681c58b4e3d4b2 100644
|
| --- a/ui/gl/gpu_switching_manager.h
|
| +++ b/ui/gl/gpu_switching_manager.h
|
| @@ -5,10 +5,14 @@
|
| #ifndef UI_GL_GPU_SWITCHING_MANAGER_H_
|
| #define UI_GL_GPU_SWITCHING_MANAGER_H_
|
|
|
| +#include <stdint.h>
|
| +
|
| #include <vector>
|
|
|
| +#include "base/macros.h"
|
| #include "base/memory/singleton.h"
|
| #include "base/observer_list.h"
|
| +#include "build/build_config.h"
|
| #include "ui/gl/gl_export.h"
|
| #include "ui/gl/gpu_preference.h"
|
| #include "ui/gl/gpu_switching_observer.h"
|
| @@ -38,7 +42,7 @@ class GL_EXPORT GpuSwitchingManager {
|
|
|
| // Sets the vendor IDs of the GPUs on the system. The length of this
|
| // vector defines the count of GPUs.
|
| - void SetGpuVendorIds(const std::vector<uint32>& vendor_ids);
|
| + void SetGpuVendorIds(const std::vector<uint32_t>& vendor_ids);
|
|
|
| void AddObserver(GpuSwitchingObserver* observer);
|
| void RemoveObserver(GpuSwitchingObserver* observer);
|
| @@ -63,7 +67,7 @@ class GL_EXPORT GpuSwitchingManager {
|
| gfx::GpuPreference gpu_switching_option_;
|
| bool gpu_switching_option_set_;
|
|
|
| - std::vector<uint32> vendor_ids_;
|
| + std::vector<uint32_t> vendor_ids_;
|
|
|
| bool supports_dual_gpus_;
|
| bool supports_dual_gpus_set_;
|
|
|