Commit a92bb131 authored by Staphany Park's avatar Staphany Park Committed by Commit Bot

Storage Service: Correct comment for use counter.

Bug: 1000932
Change-Id: Ib2181df8d61bed65331c9c9de8aecd6acc6450f8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1788686
Commit-Queue: Victor Costan <pwnall@chromium.org>
Reviewed-by: default avatarVictor Costan <pwnall@chromium.org>
Auto-Submit: Staphany Park <staphany@chromium.org>
Cr-Commit-Position: refs/heads/master@{#694608}
parent 8ade0501
...@@ -229,9 +229,8 @@ WebIDBFactory* IDBFactory::GetFactory(ExecutionContext* execution_context) { ...@@ -229,9 +229,8 @@ WebIDBFactory* IDBFactory::GetFactory(ExecutionContext* execution_context) {
ScriptPromise IDBFactory::GetDatabaseInfo(ScriptState* script_state, ScriptPromise IDBFactory::GetDatabaseInfo(ScriptState* script_state,
ExceptionState& exception_state) { ExceptionState& exception_state) {
// The BlinkIDL definition for GetDatabaseInfo already has a [MeasureAs] // The BlinkIDL definition for GetDatabaseInfo() already has a [Measure]
// attribute, so the kIndexedDBRead use counter for kIndexedDBRead must be // attribute, so the kIndexedDBRead use counter must be explicitly updated.
// explicitly updated.
UseCounter::Count(ExecutionContext::From(script_state), UseCounter::Count(ExecutionContext::From(script_state),
WebFeature::kIndexedDBRead); WebFeature::kIndexedDBRead);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment