Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Unified Diff: tools/viewer/Viewer.cpp

Issue 2001153002: Move inval dedup to Window for wider usages. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/viewer/sk_app/CommandSet.cpp » ('j') | tools/viewer/sk_app/Window.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/viewer/Viewer.cpp
diff --git a/tools/viewer/Viewer.cpp b/tools/viewer/Viewer.cpp
index c4b8b26dc51e3fda5a43a66962f5dba0a397de0d..7d39a7028a3c5e3374e3161da9e75e9aed127ca4 100644
--- a/tools/viewer/Viewer.cpp
+++ b/tools/viewer/Viewer.cpp
@@ -319,7 +319,7 @@ bool Viewer::onTouch(int owner, Window::InputState state, float x, float y) {
break;
}
}
- fWindow->inval();
+ fWindow->checkAndInval();
return true;
}
« no previous file with comments | « no previous file | tools/viewer/sk_app/CommandSet.cpp » ('j') | tools/viewer/sk_app/Window.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698