Bug 1102048 (Part 36, DynamicImage) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth

This commit is contained in:
Glenn Randers-Pehrson 2015-03-25 19:39:00 -07:00
Родитель 24a2dbfc20
Коммит c051fd5cb8
2 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -179,7 +179,8 @@ DynamicImage::GetFrame(uint32_t aWhichFrame,
CreateOffscreenContentDrawTarget(IntSize(size.width, size.height),
SurfaceFormat::B8G8R8A8);
if (!dt) {
gfxWarning() << "DynamicImage::GetFrame failed in CreateOffscreenContentDrawTarget";
gfxWarning() <<
"DynamicImage::GetFrame failed in CreateOffscreenContentDrawTarget";
return nullptr;
}
nsRefPtr<gfxContext> context = new gfxContext(dt);

Просмотреть файл

@ -3,8 +3,8 @@
* 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/. */
#ifndef MOZILLA_IMAGELIB_DYNAMICIMAGE_H_
#define MOZILLA_IMAGELIB_DYNAMICIMAGE_H_
#ifndef mozilla_image_src_DynamicImage_h
#define mozilla_image_src_DynamicImage_h
#include "mozilla/MemoryReporting.h"
#include "gfxDrawable.h"
@ -74,4 +74,4 @@ private:
} // namespace image
} // namespace mozilla
#endif // MOZILLA_IMAGELIB_DYNAMICIMAGE_H_
#endif // mozilla_image_src_DynamicImage_h