mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 936700 - Warning fix 2 of 2
CLOSED TREE
This commit is contained in:
parent
2899e12661
commit
6c467f231c
@ -2240,7 +2240,7 @@ RuntimeService::WorkerPrefChanged(const char* aPrefName, void* aClosure)
|
||||
AssertIsOnMainThread();
|
||||
|
||||
uintptr_t tmp = reinterpret_cast<uintptr_t>(aClosure);
|
||||
MOZ_ASSERT(tmp >= 0 && tmp < WORKERPREF_COUNT);
|
||||
MOZ_ASSERT(tmp < WORKERPREF_COUNT);
|
||||
WorkerPreference key = static_cast<WorkerPreference>(tmp);
|
||||
|
||||
if (key == WORKERPREF_PROMISE) {
|
||||
|
Loading…
Reference in New Issue
Block a user