Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / skia / tests / ErrorTest.cpp
index 89e920a..4802d53 100644 (file)
@@ -28,6 +28,9 @@ static void cb(SkError err, void *context) {
 }
 
 DEF_TEST(Error, reporter) {
+    // Some previous user of this thread may have left an error laying around.
+    SkClearLastError();
+
     SkError err;
 
     unsigned int test_value = 0xdeadbeef;