Bug 1367601 - Fix unified build error in imgRequestProxy.cpp. r=tnikkel

This file does not have a |using namespace mozilla;| line, so it cannot use
image::Image without a mozilla:: qualification.
This commit is contained in:
Jonathan Watt 2017-04-28 12:46:19 +01:00
parent 8c4f6e39fa
commit 29f20fa2d0

View file

@ -617,7 +617,7 @@ imgRequestProxy* NewStaticProxy(imgRequestProxy* aThis)
{
nsCOMPtr<nsIPrincipal> currentPrincipal;
aThis->GetImagePrincipal(getter_AddRefs(currentPrincipal));
RefPtr<image::Image> image = aThis->GetImage();
RefPtr<mozilla::image::Image> image = aThis->GetImage();
return new imgRequestProxyStatic(image, currentPrincipal);
}