зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1358074 (part 6, attempt 2) - Don't use mWasPaused on Android. r=mstange.
--HG-- extra : rebase_source : 99da4bfb335d27b5ea35ce10a149c82abd13ca77
This commit is contained in:
Родитель
42226dcae0
Коммит
213518b7e8
|
@ -154,7 +154,7 @@ public:
|
|||
, mFeatureThreads(false)
|
||||
, mBuffer(nullptr)
|
||||
, mIsPaused(false)
|
||||
#if defined(GP_OS_linux) || defined(GP_OS_android)
|
||||
#if defined(GP_OS_linux)
|
||||
, mWasPaused(false)
|
||||
#endif
|
||||
, mSamplerThread(nullptr)
|
||||
|
@ -213,7 +213,7 @@ public:
|
|||
|
||||
GET_AND_SET(bool, IsPaused)
|
||||
|
||||
#if defined(GP_OS_linux) || defined(GP_OS_android)
|
||||
#if defined(GP_OS_linux)
|
||||
GET_AND_SET(bool, WasPaused)
|
||||
#endif
|
||||
|
||||
|
@ -305,7 +305,7 @@ private:
|
|||
// Is the profiler paused? False when the profiler is inactive.
|
||||
bool mIsPaused;
|
||||
|
||||
#if defined(GP_OS_linux) || defined(GP_OS_android)
|
||||
#if defined(GP_OS_linux)
|
||||
// Used to record whether the profiler was paused just before forking. False
|
||||
// at all times except just before/after forking.
|
||||
bool mWasPaused;
|
||||
|
|
Загрузка…
Ссылка в новой задаче