Skip to content

Commit

Permalink
Bug 1136004 - Fix -Wthread-safety-analysis warning in webrtc. r=jesup
Browse files Browse the repository at this point in the history
  • Loading branch information
cpeterso committed Mar 3, 2015
1 parent 69c0b09 commit e4a0d35
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -695,6 +695,7 @@ void MediaOptimization::ProcessIncomingFrameRate(int64_t now) {
}

void MediaOptimization::SetCPULoadState(CPULoadState state) {
CriticalSectionScoped lock(crit_sect_.get());
loadstate_ = state;
}

Expand Down

0 comments on commit e4a0d35

Please sign in to comment.