зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1577867 - Remove using namespace std from image/ r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D44250 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
dc486dab60
Коммит
f6aea79235
|
@ -7,6 +7,8 @@
|
||||||
// Undefine windows version of LoadImage because our code uses that name.
|
// Undefine windows version of LoadImage because our code uses that name.
|
||||||
#undef LoadImage
|
#undef LoadImage
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
#include "ImageLogging.h"
|
#include "ImageLogging.h"
|
||||||
#include "imgLoader.h"
|
#include "imgLoader.h"
|
||||||
|
|
||||||
|
@ -998,9 +1000,6 @@ void imgCacheQueue::UpdateSize(int32_t diff) { mSize += diff; }
|
||||||
|
|
||||||
uint32_t imgCacheQueue::GetSize() const { return mSize; }
|
uint32_t imgCacheQueue::GetSize() const { return mSize; }
|
||||||
|
|
||||||
#include <algorithm>
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
void imgCacheQueue::Remove(imgCacheEntry* entry) {
|
void imgCacheQueue::Remove(imgCacheEntry* entry) {
|
||||||
uint64_t index = mQueue.IndexOf(entry);
|
uint64_t index = mQueue.IndexOf(entry);
|
||||||
if (index == queueContainer::NoIndex) {
|
if (index == queueContainer::NoIndex) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче