Chromium Code Reviews| Index: tools/VisualBench/VisualLightweightBenchModule.cpp |
| diff --git a/tools/VisualBench/VisualLightweightBenchModule.cpp b/tools/VisualBench/VisualLightweightBenchModule.cpp |
| index 8f9e4881aa0a07cfd3b249f38448c701f88fc8bf..7d39ca6e0599219099bf6a146e89cd9839f4d2dd 100644 |
| --- a/tools/VisualBench/VisualLightweightBenchModule.cpp |
| +++ b/tools/VisualBench/VisualLightweightBenchModule.cpp |
| @@ -127,7 +127,9 @@ bool VisualLightweightBenchModule::advanceRecordIfNecessary(SkCanvas* canvas) { |
| return false; |
| } |
| - canvas->clear(0xffffffff); |
| + fOwner->clear(canvas, SK_ColorWHITE, 1); |
|
joshualitt
2015/09/15 13:38:13
I think this should also be 2??
|
| + |
| + |
| fBenchmark->preDraw(); |
| fRecords.push_back(); |
| @@ -254,3 +256,7 @@ inline void VisualLightweightBenchModule::timing(SkCanvas* canvas) { |
| fCurrentFrame++; |
| } |
| } |
| + |
| +bool VisualLightweightBenchModule::onHandleChar(SkUnichar c) { |
| + return true; |
| +} |