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
Update To 11.40.268.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
skia
/
bench
/
Benchmark.cpp
diff --git
a/src/third_party/skia/bench/Benchmark.cpp
b/src/third_party/skia/bench/Benchmark.cpp
index
9205ba9
..
88e385d
100644
(file)
--- a/
src/third_party/skia/bench/Benchmark.cpp
+++ b/
src/third_party/skia/bench/Benchmark.cpp
@@
-7,6
+7,7
@@
#include "Benchmark.h"
+#include "SkCanvas.h"
#include "SkPaint.h"
#include "SkParse.h"
@@
-37,6
+38,7
@@
void Benchmark::preDraw() {
}
void Benchmark::draw(const int loops, SkCanvas* canvas) {
+ SkAutoCanvasRestore ar(canvas, true/*save now*/);
this->onDraw(loops, canvas);
}