aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-07-07 12:21:21 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-07 12:21:22 -0700
commit1b24933e52f50773de29332387a12721811f3012 (patch)
tree29850b1ed406ec73c69178aa87426e002170a986 /tests
parent8e0c1500a78f450115ce1a8de438d66e2e892cdc (diff)
Remove SkThread.h, include SkMutex.h or SkAtomics.h as appropriate.
SkThread.h doesn't do anything anymore execept include those two, and thankfully, it doesn't seem to be mentioned outside Skia. No public API changes. TBR=reed@google.com BUG=skia: Committed: https://skia.googlesource.com/skia/+/c50acf2321d7a934c80d754e9cbe936dfb8eb4cc Review URL: https://codereview.chromium.org/1215393002
Diffstat (limited to 'tests')
-rw-r--r--tests/AtomicTest.cpp2
-rw-r--r--tests/PathOpsExtendedTest.cpp2
-rw-r--r--tests/PathOpsExtendedTest.h2
-rw-r--r--tests/skia_test.cpp2
4 files changed, 3 insertions, 5 deletions
diff --git a/tests/AtomicTest.cpp b/tests/AtomicTest.cpp
index 8b5ac9b679..7eb7a7103b 100644
--- a/tests/AtomicTest.cpp
+++ b/tests/AtomicTest.cpp
@@ -5,7 +5,7 @@
* found in the LICENSE file.
*/
-#include "SkThread.h"
+#include "SkAtomics.h"
#include "SkThreadUtils.h"
#include "SkTypes.h"
#include "Test.h"
diff --git a/tests/PathOpsExtendedTest.cpp b/tests/PathOpsExtendedTest.cpp
index df80f4673e..69a2d617b0 100644
--- a/tests/PathOpsExtendedTest.cpp
+++ b/tests/PathOpsExtendedTest.cpp
@@ -11,10 +11,10 @@
#include "SkCanvas.h"
#include "SkForceLinking.h"
#include "SkMatrix.h"
+#include "SkMutex.h"
#include "SkPaint.h"
#include "SkRTConf.h"
#include "SkStream.h"
-#include "SkThread.h"
#ifdef SK_BUILD_FOR_MAC
#include <sys/sysctl.h>
diff --git a/tests/PathOpsExtendedTest.h b/tests/PathOpsExtendedTest.h
index c4baa63b51..f8d74098ce 100644
--- a/tests/PathOpsExtendedTest.h
+++ b/tests/PathOpsExtendedTest.h
@@ -12,8 +12,6 @@
#include "SkPath.h"
#include "SkPathOpsTypes.h"
#include "SkStream.h"
-#include "SkThread.h"
-#include "SkThreadUtils.h"
#include "Test.h"
DECLARE_bool(runFail);
diff --git a/tests/skia_test.cpp b/tests/skia_test.cpp
index 2c1822d38b..00043c1749 100644
--- a/tests/skia_test.cpp
+++ b/tests/skia_test.cpp
@@ -8,6 +8,7 @@
#include "CrashHandler.h"
#include "OverwriteLine.h"
#include "Resources.h"
+#include "SkAtomics.h"
#include "SkCommonFlags.h"
#include "SkGraphics.h"
#include "SkOSFile.h"
@@ -15,7 +16,6 @@
#include "SkTArray.h"
#include "SkTaskGroup.h"
#include "SkTemplates.h"
-#include "SkThread.h"
#include "SkTime.h"
#include "Test.h"