Index: android_webview/common/aw_content_client.cc |
diff --git a/android_webview/common/aw_content_client.cc b/android_webview/common/aw_content_client.cc |
index 99258489eb7623bb250d21c2aabbed13520cf3e5..f686cf4f8fb3b933d78f811f5069f27e6f21fcbe 100644 |
--- a/android_webview/common/aw_content_client.cc |
+++ b/android_webview/common/aw_content_client.cc |
@@ -14,6 +14,7 @@ |
#include "content/public/common/content_switches.h" |
#include "content/public/common/user_agent.h" |
#include "gpu/config/gpu_info.h" |
+#include "gpu/config/gpu_util.h" |
#include "ipc/ipc_message.h" |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/resource/resource_bundle.h" |
@@ -83,14 +84,7 @@ void AwContentClient::SetGpuInfo(const gpu::GPUInfo& gpu_info) { |
std::replace_if(gpu_fingerprint_.begin(), gpu_fingerprint_.end(), |
[](char c) { return !::isprint(c); }, '_'); |
- base::debug::SetCrashKeyValue(crash_keys::kGPUDriverVersion, |
- gpu_info.driver_version); |
- base::debug::SetCrashKeyValue(crash_keys::kGPUPixelShaderVersion, |
- gpu_info.pixel_shader_version); |
- base::debug::SetCrashKeyValue(crash_keys::kGPUVertexShaderVersion, |
- gpu_info.vertex_shader_version); |
- base::debug::SetCrashKeyValue(crash_keys::kGPUVendor, gpu_info.gl_vendor); |
- base::debug::SetCrashKeyValue(crash_keys::kGPURenderer, gpu_info.gl_renderer); |
+ gpu::SetKeysForCrashLogging(gpu_info); |
} |
bool AwContentClient::UsingSynchronousCompositing() { |