diff options
author | 2017-05-01 13:22:11 -0400 | |
---|---|---|
committer | 2017-05-02 14:50:38 +0000 | |
commit | 9ff301bf918cd85d9f67047f10631b7a74345a90 (patch) | |
tree | 6267f62b9c0b36824842c6913fcffc437c575f87 /tools | |
parent | e7e1d9d039b12a86b9a595871a2bd13fe1c28f72 (diff) |
Remove SkLights include from SkCanvas.h
SkLights.h pulls in a bunch of other headers and is not needed (fwdecl
works fine).
Change-Id: Id2d7176eb3bf4609f72f46d513eebf59318f542f
Reviewed-on: https://skia-review.googlesource.com/14904
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/debugger/SkDrawCommand.h | 1 | ||||
-rw-r--r-- | tools/dump_record.cpp | 1 | ||||
-rw-r--r-- | tools/ok.cpp | 1 | ||||
-rw-r--r-- | tools/ok_srcs.cpp | 1 | ||||
-rw-r--r-- | tools/ok_vias.cpp | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/tools/debugger/SkDrawCommand.h b/tools/debugger/SkDrawCommand.h index 4004b3bc2c..fc15526bd5 100644 --- a/tools/debugger/SkDrawCommand.h +++ b/tools/debugger/SkDrawCommand.h @@ -8,6 +8,7 @@ #ifndef SKDRAWCOMMAND_H_ #define SKDRAWCOMMAND_H_ +#include "SkBitmap.h" #include "SkCanvas.h" #include "SkTLazy.h" #include "SkPath.h" diff --git a/tools/dump_record.cpp b/tools/dump_record.cpp index c1b87e7535..24017bd6c9 100644 --- a/tools/dump_record.cpp +++ b/tools/dump_record.cpp @@ -6,6 +6,7 @@ */ #include "DumpRecord.h" +#include "SkBitmap.h" #include "SkCommandLineFlags.h" #include "SkDeferredCanvas.h" #include "SkPicture.h" diff --git a/tools/ok.cpp b/tools/ok.cpp index 10f9afdbe0..edda9bede0 100644 --- a/tools/ok.cpp +++ b/tools/ok.cpp @@ -10,6 +10,7 @@ // * ok is entirely opt-in. No more maintaining huge --blacklists. #include "SkGraphics.h" +#include "SkImage.h" #include "ok.h" #include <chrono> #include <future> diff --git a/tools/ok_srcs.cpp b/tools/ok_srcs.cpp index fd5f201cac..5630a34595 100644 --- a/tools/ok_srcs.cpp +++ b/tools/ok_srcs.cpp @@ -7,6 +7,7 @@ #include "ok.h" #include "gm.h" +#include "SkData.h" #include "SkOSFile.h" #include "SkPicture.h" #include <vector> diff --git a/tools/ok_vias.cpp b/tools/ok_vias.cpp index 17e117a7f9..20779cfd78 100644 --- a/tools/ok_vias.cpp +++ b/tools/ok_vias.cpp @@ -5,6 +5,7 @@ * found in the LICENSE file. */ +#include "SkImage.h" #include "SkOSFile.h" #include "SkPictureRecorder.h" #include "ok.h" |