summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc')
-rw-r--r--chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc b/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
index dfcfad9..34e9aa7 100644
--- a/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
+++ b/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
@@ -78,10 +78,10 @@ bool WebGraphicsContext3DCommandBufferImpl::initialize(
GPUInfo gpu_info = host->gpu_info();
UMA_HISTOGRAM_ENUMERATION(
"GPU.WebGraphicsContext3D_Init_CanLoseContext",
- attributes.canRecoverFromContextLoss * 2 + gpu_info.can_lose_context(),
+ attributes.canRecoverFromContextLoss * 2 + gpu_info.can_lose_context,
4);
if (attributes.canRecoverFromContextLoss == false) {
- if (gpu_info.can_lose_context())
+ if (gpu_info.can_lose_context)
return false;
}