Commit e6d2f25e authored by Sami Kyostila's avatar Sami Kyostila Committed by Chromium LUCI CQ

media: Add missing semicolons to TRACE_EVENTs

Chrome is about to switch to the TRACE_EVENT macro implementation
provided by Perfetto. The new implementation requires trace event
statements to be terminated by semicolons, so this patch modifies the
codebase to add semicolons where they were previously left out.

No functional changes.

Bug: 1006541
Change-Id: I87ee1f6d2a3bdf4c05967fb62ef751120d0cbaa5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2629517
Commit-Queue: Sami Kyöstilä <skyostil@chromium.org>
Commit-Queue: Thomas Guilbert <tguilbert@chromium.org>
Auto-Submit: Sami Kyöstilä <skyostil@chromium.org>
Reviewed-by: default avatarThomas Guilbert <tguilbert@chromium.org>
Cr-Commit-Position: refs/heads/master@{#843736}
parent c92e6f5a
......@@ -379,7 +379,7 @@ void AudioOutputDevice::OnStreamCreated(
base::UnsafeSharedMemoryRegion shared_memory_region,
base::SyncSocket::ScopedHandle socket_handle,
bool playing_automatically) {
TRACE_EVENT0("audio", "AudioOutputDevice::OnStreamCreated")
TRACE_EVENT0("audio", "AudioOutputDevice::OnStreamCreated");
DCHECK(io_task_runner_->BelongsToCurrentThread());
DCHECK(shared_memory_region.IsValid());
......
......@@ -339,7 +339,7 @@ void MojoVideoDecoderService::OnDecoderOutput(scoped_refptr<VideoFrame> frame) {
DCHECK(client_);
DCHECK(decoder_);
TRACE_EVENT1("media", "MojoVideoDecoderService::OnDecoderOutput",
"video_frame", frame->AsHumanReadableString())
"video_frame", frame->AsHumanReadableString());
// All MojoVideoDecoder-based decoders are hardware decoders. If you're the
// first to implement an out-of-process decoder that is not power efficent,
......
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