| Index: gpu/config/gpu_info_collector_win.cc
|
| diff --git a/gpu/config/gpu_info_collector_win.cc b/gpu/config/gpu_info_collector_win.cc
|
| index b339cd7c1d5f5678c44e40c1d2dd4c25e7824eb9..8968d41a2a7f3c9bb1148f670f2cce847af592ce 100644
|
| --- a/gpu/config/gpu_info_collector_win.cc
|
| +++ b/gpu/config/gpu_info_collector_win.cc
|
| @@ -360,15 +360,15 @@ void CollectD3D11Support() {
|
| }
|
| } // namespace anonymous
|
|
|
| -#if !defined(GOOGLE_CHROME_BUILD)
|
| +#if defined(GOOGLE_CHROME_BUILD) && defined(OFFICIAL_BUILD)
|
| +// This function has a real implementation for official builds that can
|
| +// be found in src/third_party/amd.
|
| +void GetAMDVideocardInfo(GPUInfo* gpu_info);
|
| +#else
|
| void GetAMDVideocardInfo(GPUInfo* gpu_info) {
|
| DCHECK(gpu_info);
|
| return;
|
| }
|
| -#else
|
| -// This function has a real implementation for official builds that can
|
| -// be found in src/third_party/amd.
|
| -void GetAMDVideocardInfo(GPUInfo* gpu_info);
|
| #endif
|
|
|
| bool CollectDriverInfoD3D(const std::wstring& device_id,
|
|
|