| Index: tools/VisualBench/VisualLightweightBenchModule.cpp
|
| diff --git a/tools/VisualBench/VisualLightweightBenchModule.cpp b/tools/VisualBench/VisualLightweightBenchModule.cpp
|
| index 8f9e4881aa0a07cfd3b249f38448c701f88fc8bf..bc592a3934d564a18b29fdf6419f1dbc7622740c 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, 2);
|
| +
|
| +
|
| fBenchmark->preDraw();
|
| fRecords.push_back();
|
|
|
| @@ -254,3 +256,7 @@ inline void VisualLightweightBenchModule::timing(SkCanvas* canvas) {
|
| fCurrentFrame++;
|
| }
|
| }
|
| +
|
| +bool VisualLightweightBenchModule::onHandleChar(SkUnichar c) {
|
| + return true;
|
| +}
|
|
|