Chromium Code Reviews| Index: tools/imagediff/image_diff_png.h |
| diff --git a/webkit/support/webkit_support_gfx.h b/tools/imagediff/image_diff_png.h |
| similarity index 88% |
| rename from webkit/support/webkit_support_gfx.h |
| rename to tools/imagediff/image_diff_png.h |
| index f78f8c5726603071e17da3bef672d81d889f1ad0..6e3a654c9e5376cf0a45633d1def46631f841eed 100644 |
| --- a/webkit/support/webkit_support_gfx.h |
| +++ b/tools/imagediff/image_diff_png.h |
| @@ -2,13 +2,13 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_ |
| -#define WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_ |
| +#ifndef TOOLS_IMAGEDIFF_WEBKIT_SUPPORT_GFX_H_ |
| +#define TOOLS_IMAGEDIFF_WEBKIT_SUPPORT_GFX_H_ |
|
Dirk Pranke
2013/07/30 19:37:04
#ifdef guard is wrong.
|
| #include <string> |
| #include <vector> |
| -namespace webkit_support { |
| +namespace image_diff_png { |
| // Decode a PNG into an RGBA pixel array. |
| bool DecodePNG(const unsigned char* input, size_t input_size, |
| @@ -40,4 +40,4 @@ bool EncodeBGRAPNGWithChecksum(const unsigned char* input, |
| } // namespace webkit_support |
| -#endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_ |
| +#endif // TOOLS_IMAGEDIFF_WEBKIT_SUPPORT_GFX_H_ |