Bug 1497981 - Simplify ImageLoader::LoadImage. r=heycam

Has a single caller, from which we pass the arguments. We can just avoid that.

Differential Revision: https://phabricator.services.mozilla.com/D8276
This commit is contained in:
Emilio Cobos Álvarez
2018-10-15 12:24:58 +00:00
parent 2323e62703
commit 58505d0f7a
4 changed files with 18 additions and 28 deletions

View File

@@ -155,6 +155,8 @@ public:
uint64_t LoadID() const { return mLoadID; }
CORSMode CorsMode() const { return mCORSMode; }
private:
// mURI stores the lazily resolved URI. This may be null if the URI is
// invalid, even once resolved.