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

Unified Diff: tests/RefCntTest.cpp

Issue 1408213005: Remove SkThread::setProcessorAffinity() (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: gAdds Created 5 years, 2 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 | « tests/AtomicTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/RefCntTest.cpp
diff --git a/tests/RefCntTest.cpp b/tests/RefCntTest.cpp
index b73618d9f34bd46e4d8e79ab04c20b019d5c667a..6a1e0dc2fee3e3c72adb59531ff5a4e9abf36b02 100644
--- a/tests/RefCntTest.cpp
+++ b/tests/RefCntTest.cpp
@@ -25,9 +25,6 @@ static void test_refCnt(skiatest::Reporter* reporter) {
SkThread thing1(bounce_ref, ref);
SkThread thing2(bounce_ref, ref);
- thing1.setProcessorAffinity(0);
- thing2.setProcessorAffinity(23);
-
SkASSERT(thing1.start());
SkASSERT(thing2.start());
@@ -63,11 +60,6 @@ static void test_weakRefCnt(skiatest::Reporter* reporter) {
SkThread thing3(bounce_weak_ref, ref);
SkThread thing4(bounce_weak_weak_ref, ref);
- thing1.setProcessorAffinity(0);
- thing2.setProcessorAffinity(23);
- thing3.setProcessorAffinity(2);
- thing4.setProcessorAffinity(17);
-
SkASSERT(thing1.start());
SkASSERT(thing2.start());
SkASSERT(thing3.start());
« no previous file with comments | « tests/AtomicTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698