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

This commit is contained in:
Glenn Randers-Pehrson 2015-01-22 05:38:00 -08:00
parent 2ab9fb0681
commit 3e07b7f8c9
2 changed files with 6 additions and 5 deletions

View File

@ -203,7 +203,8 @@ Downscaler::DownscaleInputLine()
typedef skia::ConvolutionFilter1D::Fixed FilterValue;
MOZ_ASSERT(mOutputBuffer);
MOZ_ASSERT(mCurrentOutLine < mTargetSize.height, "Writing past end of output");
MOZ_ASSERT(mCurrentOutLine < mTargetSize.height,
"Writing past end of output");
int32_t filterOffset = 0;
int32_t filterLength = 0;

View File

@ -9,8 +9,8 @@
* scaling implementation.
*/
#ifndef MOZILLA_IMAGELIB_DOWNSCALER_H_
#define MOZILLA_IMAGELIB_DOWNSCALER_H_
#ifndef mozilla_image_src_Downscaler_h
#define mozilla_image_src_Downscaler_h
#include "mozilla/UniquePtr.h"
#include "nsRect.h"
@ -149,6 +149,6 @@ public:
} // namespace image
} // namespace mozilla
#endif
#endif // MOZ_ENABLE_SKIA
#endif // MOZILLA_IMAGELIB_DOWNSCALER_H_
#endif // mozilla_image_src_Downscaler_h