aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2018-06-21 10:33:52 -0400
committerGravatar Hal Canary <halcanary@google.com>2018-06-21 14:42:31 +0000
commit61582510eeb8484ad3e12df97bf781a3129f60d0 (patch)
treee757bc3367ebb16b09df8b64629dc3a0c3dd988d /include/core
parent960d421fb98f9e08ec6efb380607b54a7cf72f95 (diff)
SkRefCnt, SkTypes: fix includes for clients
Change-Id: I1cfdc03963eaab9687608974958d20411806cfeb Reviewed-on: https://skia-review.googlesource.com/136592 Commit-Queue: Hal Canary <halcanary@google.com> Reviewed-by: Hal Canary <halcanary@google.com>
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkRefCnt.h5
-rw-r--r--include/core/SkTypes.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/include/core/SkRefCnt.h b/include/core/SkRefCnt.h
index d561e9994b..89e6544571 100644
--- a/include/core/SkRefCnt.h
+++ b/include/core/SkRefCnt.h
@@ -13,11 +13,14 @@
#include <atomic>
#include <cstddef>
#include <functional>
-#include <memory>
#include <ostream>
#include <type_traits>
#include <utility>
+// These two headers will be removed in a later CL:
+#include <memory>
+#include <array>
+
/** \class SkRefCntBase
SkRefCntBase is the base class for objects that may be shared by multiple
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h
index be51e20bac..395211a237 100644
--- a/include/core/SkTypes.h
+++ b/include/core/SkTypes.h
@@ -16,6 +16,8 @@
#include <stdint.h>
// IWYU pragma: end_exports
+#include <utility>
+
/** \file SkTypes.h
*/