| Index: chrome/browser/ui/webui/gpu_internals_ui.cc
|
| diff --git a/chrome/browser/ui/webui/gpu_internals_ui.cc b/chrome/browser/ui/webui/gpu_internals_ui.cc
|
| index 9ada4d0e47911e055d27fce68dedcc5473e2e919..d813c41f983f42b15733f088515cba94f44399d6 100644
|
| --- a/chrome/browser/ui/webui/gpu_internals_ui.cc
|
| +++ b/chrome/browser/ui/webui/gpu_internals_ui.cc
|
| @@ -84,6 +84,7 @@ Value* NewStatusValue(const char* name, const char* status) {
|
| return value;
|
| }
|
|
|
| +#if defined(OS_WIN)
|
| // Output DxDiagNode tree as nested array of {description,value} pairs
|
| ListValue* DxDiagNodeToList(const content::DxDiagNode& node) {
|
| ListValue* list = new ListValue();
|
| @@ -103,6 +104,7 @@ ListValue* DxDiagNodeToList(const content::DxDiagNode& node) {
|
| }
|
| return list;
|
| }
|
| +#endif
|
|
|
| std::string GPUDeviceToString(const content::GPUInfo::GPUDevice& gpu) {
|
| std::string vendor = base::StringPrintf("0x%04x", gpu.vendor_id);
|
|
|