Skip to content

Commit

Permalink
services/audio: Add missing semicolons to TRACE_EVENTs
Browse files Browse the repository at this point in the history
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.

[email protected]

Bug: 1006541
Change-Id: If614c8e30a439956f7986af1d822683c70716247
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2627525
Reviewed-by: Sami Kyöstilä <[email protected]>
Reviewed-by: Olga Sharonova <[email protected]>
Commit-Queue: Sami Kyöstilä <[email protected]>
Commit-Queue: Olga Sharonova <[email protected]>
Auto-Submit: Sami Kyöstilä <[email protected]>
Cr-Commit-Position: refs/heads/master@{#844510}
  • Loading branch information
skyostil authored and Chromium LUCI CQ committed Jan 18, 2021
1 parent 9c2a6b0 commit 54f5c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/audio/service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Service::Service(std::unique_ptr<AudioManagerAccessor> audio_manager_accessor,
// created. This is required for in-process device notifications.
InitializeDeviceMonitor();
}
TRACE_EVENT0("audio", "audio::Service::OnStart")
TRACE_EVENT0("audio", "audio::Service::OnStart");

// This will pre-create AudioManager if AudioManagerAccessor owns it.
CHECK(audio_manager_accessor_->GetAudioManager());
Expand Down

0 comments on commit 54f5c5d

Please sign in to comment.