Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: tools/sk_tool_utils.h

Issue 348623006: Add GYP target for sk_tool_utils.* component. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tools.gyp Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/tools.gyp ('k') | tools/sk_tool_utils.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/sk_tool_utils.h
diff --git a/tools/sk_tool_utils.h b/tools/sk_tool_utils.h
index 48fd716342b549dab6ad429119f9b151e6e88cc4..2bd42b607668be23ea8378b323e195bb932285cd 100644
--- a/tools/sk_tool_utils.h
+++ b/tools/sk_tool_utils.h
@@ -8,8 +8,10 @@
#ifndef sk_tool_utils_DEFINED
#define sk_tool_utils_DEFINED
-#include "SkCanvas.h"
-#include "SkBitmap.h"
+#include "SkImageInfo.h"
+
+class SkBitmap;
+class SkCanvas;
namespace sk_tool_utils {
@@ -20,6 +22,7 @@ namespace sk_tool_utils {
* the pixels are colorType + alphaType
*/
void write_pixels(SkCanvas*, const SkBitmap&, int x, int y, SkColorType, SkAlphaType);
-}
-#endif
+} // namespace sk_tool_utils
+
+#endif // sk_tool_utils_DEFINED
« no previous file with comments | « gyp/tools.gyp ('k') | tools/sk_tool_utils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698