aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/viewer
diff options
context:
space:
mode:
authorGravatar Jim Van Verth <jvanverth@google.com>2018-01-22 12:45:47 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-01-22 18:20:27 +0000
commit87d18ced0a54c9ed836a82d4276a4f45b27a2943 (patch)
tree1d401b6e67c6decee1aa1c58123a9e4614a03b2b /tools/viewer
parentde161cb2562c6f96f4e9bb603baa6a21ff8d3a46 (diff)
Add Chinese zoom Sample.
Bug: skia: Change-Id: Ibe5ffee64fe9fccd6b8d86c1310a78d2d51e424e Reviewed-on: https://skia-review.googlesource.com/97065 Commit-Queue: Jim Van Verth <jvanverth@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'tools/viewer')
-rw-r--r--tools/viewer/Viewer.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/viewer/Viewer.cpp b/tools/viewer/Viewer.cpp
index f9d1c1b372..8db541c8fd 100644
--- a/tools/viewer/Viewer.cpp
+++ b/tools/viewer/Viewer.cpp
@@ -819,12 +819,8 @@ void Viewer::drawSlide(SkCanvas* canvas) {
}
void Viewer::onBackendCreated() {
- this->updateTitle();
- this->updateUIState();
this->setupCurrentSlide();
- fStatsLayer.resetMeasurements();
fWindow->show();
- fWindow->inval();
}
void Viewer::onPaint(SkCanvas* canvas) {