Bug 1358074 (part 6, attempt 2) - Don't use mWasPaused on Android. r=mstange.

--HG--
extra : rebase_source : 99da4bfb335d27b5ea35ce10a149c82abd13ca77
This commit is contained in:
Nicholas Nethercote 2017-04-21 13:27:59 +10:00
Родитель 42226dcae0
Коммит 213518b7e8
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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;