Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: services/ui/gpu/gpu_service.cc

Issue 2622073005: mus: Correctly set the crash-key for mus-gpu. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/gpu/gpu_service.cc
diff --git a/services/ui/gpu/gpu_service.cc b/services/ui/gpu/gpu_service.cc
index af091f30c7aac5f16256f4c0a09b589380d74d47..a6c0804f6fecae3831cf0d1514863ea324ebc882 100644
--- a/services/ui/gpu/gpu_service.cc
+++ b/services/ui/gpu/gpu_service.cc
@@ -5,6 +5,7 @@
#include "services/ui/gpu/gpu_service.h"
#include "base/bind.h"
+#include "base/debug/crash_logging.h"
#include "base/memory/shared_memory.h"
#include "base/threading/thread_task_runner_handle.h"
#include "build/build_config.h"
@@ -151,7 +152,8 @@ void GpuService::SendAcceleratedSurfaceCreatedChildWindow(
#endif
void GpuService::SetActiveURL(const GURL& url) {
- // TODO(penghuang): implement this function.
+ constexpr char kActiveURL[] = "url-chunk";
+ base::debug::SetCrashKeyValue(kActiveURL, url.possibly_invalid_spec());
}
void GpuService::EstablishGpuChannel(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698