| Index: gpu/config/gpu_blacklist.h
|
| diff --git a/gpu/config/gpu_blacklist.h b/gpu/config/gpu_blacklist.h
|
| index 79535074992cbf1bae2fd5be8d474844ce70356a..a04e1bdbbbbdc335db1273cd7af6f0259abf5d3a 100644
|
| --- a/gpu/config/gpu_blacklist.h
|
| +++ b/gpu/config/gpu_blacklist.h
|
| @@ -5,7 +5,7 @@
|
| #ifndef GPU_CONFIG_GPU_BLACKLIST_H_
|
| #define GPU_CONFIG_GPU_BLACKLIST_H_
|
|
|
| -#include <string>
|
| +#include <memory>
|
|
|
| #include "base/macros.h"
|
| #include "gpu/config/gpu_control_list.h"
|
| @@ -16,10 +16,11 @@ class GPU_EXPORT GpuBlacklist : public GpuControlList {
|
| public:
|
| ~GpuBlacklist() override;
|
|
|
| - static GpuBlacklist* Create();
|
| + static std::unique_ptr<GpuBlacklist> Create();
|
| + static std::unique_ptr<GpuBlacklist> Create(const GpuControlListData& data);
|
|
|
| private:
|
| - GpuBlacklist();
|
| + explicit GpuBlacklist(const GpuControlListData& data);
|
|
|
| DISALLOW_COPY_AND_ASSIGN(GpuBlacklist);
|
| };
|
|
|