Attention needed from Eusden Lin and Shawn Quereshi
Antonio Rivera voted and added 1 comment![Open in Gerrit]()
Votes added by Antonio Rivera
1 comment
File chromecast/starboard/media/cdm/starboard_drm_wrapper.cc
Line 453, Patchset 2 (Latest):Antonio Rivera .
unresolvedIf the intention here is only to measure the initialization time of the SbDrmSystem itself, would it make sense to move the CHROMECAST_TIMING_TRACKER to this line? CreateDrmSystem is what calls Starboard to construct the SbDrmSystem.
If you wanted to be really precise (and avoid the timing of our logging), you could even wrap it in curly braces to trigger destruction early, e.g.
```
{
CHROMECAST_TIMING_TRACKER;
drm_system_ = starboard_->CreateDrmSystem(
/*key_system=*/"com.widevine.alpha",
/*callback_handler=*/&callback_handler_);
} // the timing tracker is destructed
```
Open in GerritRelated details
Attention is currently required from:
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Iffae15d32ee2056d9e3706af22e3b4a8fefc0505
Gerrit-Change-Number: 7138221
Gerrit-PatchSet: 2
Gerrit-Comment-Date: Mon, 10 Nov 2025 18:33:49 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes