| Index: tools/android/SkBitmapRegionDecoderPriv.h
|
| diff --git a/tools/SkCodecTools.h b/tools/android/SkBitmapRegionDecoderPriv.h
|
| similarity index 94%
|
| rename from tools/SkCodecTools.h
|
| rename to tools/android/SkBitmapRegionDecoderPriv.h
|
| index 285d3a21dee1e3a9bcc3cb215fb0c401430796af..d7423b05fd5fed12b60c3523a49aab5c3dc52128 100644
|
| --- a/tools/SkCodecTools.h
|
| +++ b/tools/android/SkBitmapRegionDecoderPriv.h
|
| @@ -5,8 +5,8 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -#ifndef SkCodecTools_DEFINED
|
| -#define SkCodecTools_DEFINED
|
| +#ifndef SkBitmapRegionDecoderPriv_DEFINED
|
| +#define SkBitmapRegionDecoderPriv_DEFINED
|
|
|
| inline float get_scale_from_sample_size(uint32_t sampleSize) {
|
| return 1.0f / (float) sampleSize;
|
| @@ -60,4 +60,4 @@ inline SubsetType adjust_subset_rect(const SkISize& imageDims, SkIRect* subset,
|
| return SubsetType::kFullyInside_SubsetType;
|
| }
|
|
|
| -#endif // SkCodecTools_DEFINED
|
| +#endif // SkBitmapRegionDecoderPriv_DEFINED
|
|
|