From c97b0bf3243524d339f8d8265bffb7144bbc2e53 Mon Sep 17 00:00:00 2001 From: Qingxin Wu Date: Mon, 13 May 2024 19:42:18 +0000 Subject: [PATCH] Rename a wrong variable name in real time report bindings. debugging -> real_time_reporting. Change-Id: I5ca652f0e46bbe6f3199f3d9eddf4f55c8b78d94 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5533960 Commit-Queue: Qingxin Wu Reviewed-by: Maks Orlovich Cr-Commit-Position: refs/heads/main@{#1300222} --- .../auction_worklet/real_time_reporting_bindings.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/services/auction_worklet/real_time_reporting_bindings.cc b/content/services/auction_worklet/real_time_reporting_bindings.cc index 53e5798131b912..b59645b56f4a95 100644 --- a/content/services/auction_worklet/real_time_reporting_bindings.cc +++ b/content/services/auction_worklet/real_time_reporting_bindings.cc @@ -116,7 +116,7 @@ void RealTimeReportingBindings::AttachToContext( v8::Isolate* isolate = v8_helper_->isolate(); v8::Local v8_this = v8::External::New(isolate, this); - v8::Local debugging = v8::Object::New(isolate); + v8::Local real_time_reporting = v8::Object::New(isolate); v8::Local real_time_histogram_template = v8::FunctionTemplate::New( @@ -127,14 +127,14 @@ void RealTimeReportingBindings::AttachToContext( isolate, &RealTimeReportingBindings::ContributeOnWorkletLatency, v8_this); - debugging + real_time_reporting ->Set( context, v8_helper_->CreateStringFromLiteral("contributeToRealTimeHistogram"), real_time_histogram_template->GetFunction(context).ToLocalChecked()) .Check(); - debugging + real_time_reporting ->Set(context, v8_helper_->CreateStringFromLiteral("contributeOnWorkletLatency"), worklet_latency_template->GetFunction(context).ToLocalChecked()) @@ -142,7 +142,7 @@ void RealTimeReportingBindings::AttachToContext( context->Global() ->Set(context, v8_helper_->CreateStringFromLiteral("realTimeReporting"), - debugging) + real_time_reporting) .Check(); }