Revert "Workaround Mac align bug for observer_ and crit_."
This reverts commit r8528 which should be safe after r8646. BUG= R=tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/40249004 Cr-Commit-Position: refs/heads/master@{#8648} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8648 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
a50e6f073d
commit
385b56666a
@ -52,11 +52,8 @@ class RegistrableCpuOveruseMetricsObserver : public CpuOveruseMetricsObserver {
|
||||
}
|
||||
|
||||
private:
|
||||
// TODO(pbos): Figure out why observer_ needs to be declared above crit_ on
|
||||
// Mac. tommi@ also ran into this while debugging weird critical-section
|
||||
// related alignment issues. Pushing this as a workaround to unblock rolling.
|
||||
CpuOveruseMetricsObserver* observer_ GUARDED_BY(crit_) = nullptr;
|
||||
mutable rtc::CriticalSection crit_;
|
||||
CpuOveruseMetricsObserver* observer_ GUARDED_BY(crit_) = nullptr;
|
||||
CpuOveruseMetrics metrics_ GUARDED_BY(crit_);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user