aboutsummaryrefslogtreecommitdiff
path: root/tests/AndroidCodecTest.cpp
diff options
context:
space:
mode:
authorBen Wagner <bungeman@google.com>2018-03-02 16:59:53 -0500
committerSkia Commit-Bot <skia-commit-bot@chromium.org>2018-03-02 22:39:59 +0000
commit1ebeefe24661ff353ebd8b22e2ac11997ee39aab (patch)
treeafbb0b7b464750023fa91f8d4d783eb61171e418 /tests/AndroidCodecTest.cpp
parentc931d6e84bdfa0140eedde6e278a81fff1034a60 (diff)
IWYU for test files starting with 'A'.
While testing some changes to iwyu, started fixing some files. Made it to AsADashTest.cpp before running into https://github.com/include-what-you-use/include-what-you-use/issues/364 Change-Id: I42b65df4f1f8116e0ea1b2cd774651990db1b132 Reviewed-on: https://skia-review.googlesource.com/111861 Reviewed-by: Ben Wagner <bungeman@google.com> Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'tests/AndroidCodecTest.cpp')
-rw-r--r--tests/AndroidCodecTest.cpp15
1 files changed, 13 insertions, 2 deletions
diff --git a/tests/AndroidCodecTest.cpp b/tests/AndroidCodecTest.cpp
index d383713bb9..430b0b7178 100644
--- a/tests/AndroidCodecTest.cpp
+++ b/tests/AndroidCodecTest.cpp
@@ -5,15 +5,26 @@
* found in the LICENSE file.
*/
+#include "Resources.h"
#include "SkAndroidCodec.h"
+#include "SkBitmap.h"
#include "SkCodec.h"
#include "SkCodecImageGenerator.h"
+#include "SkColor.h"
+#include "SkData.h"
#include "SkEncodedImageFormat.h"
+#include "SkImageGenerator.h"
+#include "SkImageInfo.h"
#include "SkPixmapPriv.h"
-
-#include "Resources.h"
+#include "SkRefCnt.h"
+#include "SkSize.h"
+#include "SkString.h"
+#include "SkTypes.h"
#include "Test.h"
+#include <algorithm>
+#include <memory>
+
static SkISize times(const SkISize& size, float factor) {
return { (int) (size.width() * factor), (int) (size.height() * factor) };
}