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(); }