projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
skia
/
tests
/
ErrorTest.cpp
diff --git
a/src/third_party/skia/tests/ErrorTest.cpp
b/src/third_party/skia/tests/ErrorTest.cpp
index
89e920a
..
4802d53
100644
(file)
--- a/
src/third_party/skia/tests/ErrorTest.cpp
+++ b/
src/third_party/skia/tests/ErrorTest.cpp
@@
-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;