Bug 1102048 - Make image/src files comply with the Mozilla Coding Style Guide. r=seth

This commit is contained in:
Glenn Randers-Pehrson 2014-12-05 16:28:00 -08:00
parent cce7ac2354
commit fc231a5ab1
2 changed files with 7 additions and 5 deletions

View File

@ -216,7 +216,8 @@ DynamicImage::IsOpaque()
}
NS_IMETHODIMP
DynamicImage::GetImageContainer(LayerManager* aManager, ImageContainer** _retval)
DynamicImage::GetImageContainer(LayerManager* aManager,
ImageContainer** _retval)
{
*_retval = nullptr;
return NS_OK;
@ -331,7 +332,9 @@ DynamicImage::SetAnimationStartTime(const mozilla::TimeStamp& aTime)
{ }
nsIntSize
DynamicImage::OptimalImageSizeForDest(const gfxSize& aDest, uint32_t aWhichFrame, GraphicsFilter aFilter, uint32_t aFlags)
DynamicImage::OptimalImageSizeForDest(const gfxSize& aDest,
uint32_t aWhichFrame,
GraphicsFilter aFilter, uint32_t aFlags)
{
gfxIntSize size(mDrawable->Size());
return nsIntSize(size.width, size.height);

View File

@ -14,7 +14,6 @@ namespace mozilla {
namespace image {
/**
* An Image that is dynamically created. The content of the image is provided by
* a gfxDrawable. It's anticipated that most uses of DynamicImage will be
* ephemeral.
@ -36,8 +35,8 @@ public:
virtual already_AddRefed<ProgressTracker> GetProgressTracker() MOZ_OVERRIDE;
virtual nsIntRect FrameRect(uint32_t aWhichFrame) MOZ_OVERRIDE;
virtual size_t SizeOfSourceWithComputedFallback(MallocSizeOf aMallocSizeOf) const MOZ_OVERRIDE;
virtual size_t SizeOfSourceWithComputedFallback(
MallocSizeOf aMallocSizeOf) const MOZ_OVERRIDE;
virtual size_t SizeOfDecoded(gfxMemoryLocation aLocation,
MallocSizeOf aMallocSizeOf) const MOZ_OVERRIDE;