Bug 1136004 - Fix -Wthread-safety-analysis warning in webrtc. r=jesup

This commit is contained in:
Chris Peterson 2015-03-02 19:51:29 -08:00
parent 4faabfb7d1
commit 92dd727714

View File

@ -695,6 +695,7 @@ void MediaOptimization::ProcessIncomingFrameRate(int64_t now) {
}
void MediaOptimization::SetCPULoadState(CPULoadState state) {
CriticalSectionScoped lock(crit_sect_.get());
loadstate_ = state;
}