Index: tests/skia_test.cpp |
diff --git a/tests/skia_test.cpp b/tests/skia_test.cpp |
index 172328ee4abf1d44bd9414e9917b71c86fb6edf7..5488d81044128c620742075d2fb8e95ac113526b 100644 |
--- a/tests/skia_test.cpp |
+++ b/tests/skia_test.cpp |
@@ -125,7 +125,7 @@ int test_main() { |
} |
#endif |
- SkGraphics::Init(); |
+ SkAutoGraphics ag; |
{ |
SkString header("Skia UnitTests:"); |
@@ -211,7 +211,6 @@ int test_main() { |
SkDebugf("\nFinished %d tests, %d failures, %d skipped. (%d internal tests)", |
toRun, failCount, skipCount, reporter.countTests()); |
} |
- SkGraphics::Term(); |
SkDebugf("\n"); |
return (failCount == 0) ? 0 : 1; |