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

Unified Diff: tools/VisualBench/VisualLightweightBenchModule.cpp

Issue 1336043003: Add viewer mode to VisualBench. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix short option again Created 5 years, 3 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
Index: tools/VisualBench/VisualLightweightBenchModule.cpp
diff --git a/tools/VisualBench/VisualLightweightBenchModule.cpp b/tools/VisualBench/VisualLightweightBenchModule.cpp
index 8f9e4881aa0a07cfd3b249f38448c701f88fc8bf..535f584755f0c4367fb25404bb70731fa1c33586 100644
--- a/tools/VisualBench/VisualLightweightBenchModule.cpp
+++ b/tools/VisualBench/VisualLightweightBenchModule.cpp
@@ -254,3 +254,7 @@ inline void VisualLightweightBenchModule::timing(SkCanvas* canvas) {
fCurrentFrame++;
}
}
+
+bool VisualLightweightBenchModule::onHandleChar(SkUnichar c) {
+ return true;
+}

Powered by Google App Engine
This is Rietveld 408576698