зеркало из https://github.com/mozilla/gecko-dev.git
Bug 943686 - Add imageLoader.cpp to unified sources. r=tn
MozReview-Commit-ID: G9sFOtbFYjP
This commit is contained in:
Родитель
e9d70bb6a0
Коммит
0e5acb78bf
|
@ -4,6 +4,9 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// Undefine windows version of LoadImage because our code uses that name.
|
||||
#undef LoadImage
|
||||
|
||||
#include "ImageLogging.h"
|
||||
#include "imgLoader.h"
|
||||
|
||||
|
@ -128,7 +131,7 @@ public:
|
|||
}
|
||||
|
||||
RefPtr<imgRequest> req = entry->GetRequest();
|
||||
RefPtr<Image> image = req->GetImage();
|
||||
RefPtr<image::Image> image = req->GetImage();
|
||||
if (!image) {
|
||||
continue;
|
||||
}
|
||||
|
@ -401,7 +404,7 @@ private:
|
|||
nsTArray<ImageMemoryCounter>* aArray,
|
||||
bool aIsUsed)
|
||||
{
|
||||
RefPtr<Image> image = aRequest->GetImage();
|
||||
RefPtr<image::Image> image = aRequest->GetImage();
|
||||
if (!image) {
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -66,6 +66,7 @@ UNIFIED_SOURCES += [
|
|||
'ImageOps.cpp',
|
||||
'ImageWrapper.cpp',
|
||||
'imgFrame.cpp',
|
||||
'imgLoader.cpp',
|
||||
'imgTools.cpp',
|
||||
'MultipartImage.cpp',
|
||||
'OrientedImage.cpp',
|
||||
|
@ -83,7 +84,6 @@ if CONFIG['MOZ_ENABLE_SKIA']:
|
|||
|
||||
# These files can't be unified because of ImageLogging.h #include order issues.
|
||||
SOURCES += [
|
||||
'imgLoader.cpp',
|
||||
'imgRequest.cpp',
|
||||
'imgRequestProxy.cpp',
|
||||
'ProgressTracker.cpp',
|
||||
|
|
Загрузка…
Ссылка в новой задаче