Index: content/common/gpu/client/command_buffer_metrics.cc |
diff --git a/content/common/gpu/client/command_buffer_metrics.cc b/content/common/gpu/client/command_buffer_metrics.cc |
index d16f27619059572d218311837a2bab71a1ddf437..5065ca5da6c388aaa400d6527f1f2181e05172c1 100644 |
--- a/content/common/gpu/client/command_buffer_metrics.cc |
+++ b/content/common/gpu/client/command_buffer_metrics.cc |
@@ -79,6 +79,10 @@ void RecordContextLost(CommandBufferContextType type, |
UMA_HISTOGRAM_ENUMERATION("GPU.ContextLost.BrowserMainThread", reason, |
CONTEXT_LOST_REASON_MAX_ENUM); |
break; |
+ case BROWSER_WORKER_CONTEXT: |
+ UMA_HISTOGRAM_ENUMERATION("GPU.ContextLost.BrowserWorker", reason, |
+ CONTEXT_LOST_REASON_MAX_ENUM); |
+ break; |
case RENDER_COMPOSITOR_CONTEXT: |
UMA_HISTOGRAM_ENUMERATION("GPU.ContextLost.RenderCompositor", reason, |
CONTEXT_LOST_REASON_MAX_ENUM); |
@@ -120,6 +124,8 @@ std::string CommandBufferContextTypeToString(CommandBufferContextType type) { |
return "Compositor"; |
case BROWSER_OFFSCREEN_MAINTHREAD_CONTEXT: |
return "Offscreen-MainThread"; |
+ case BROWSER_WORKER_CONTEXT: |
+ return "CompositorWorker"; |
case RENDER_COMPOSITOR_CONTEXT: |
return "RenderCompositor"; |
case RENDER_WORKER_CONTEXT: |