aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/MagnifierBench.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-08-29 11:54:56 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-08-29 11:54:56 +0000
commit1f2f338e23789f3eef168dcbd8171a28820ba6c1 (patch)
treecfa6c68aca1dbad85f6ae0d3e1e616d9dac1369b /bench/MagnifierBench.cpp
parent3e8466a1520343e2e7d280d9d1f39b2bd048fbb9 (diff)
Split SkDevice into SkBaseDevice and SkBitmapDevice
Diffstat (limited to 'bench/MagnifierBench.cpp')
-rw-r--r--bench/MagnifierBench.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/MagnifierBench.cpp b/bench/MagnifierBench.cpp
index 969323a791..2e937f358b 100644
--- a/bench/MagnifierBench.cpp
+++ b/bench/MagnifierBench.cpp
@@ -5,8 +5,8 @@
* found in the LICENSE file.
*/
#include "SkBenchmark.h"
+#include "SkBitmapDevice.h"
#include "SkCanvas.h"
-#include "SkDevice.h"
#include "SkMagnifierImageFilter.h"
#include "SkRandom.h"
@@ -52,7 +52,7 @@ private:
const int h = fIsSmall ? FILTER_HEIGHT_LARGE : FILTER_HEIGHT_LARGE;
fCheckerboard.setConfig(SkBitmap::kARGB_8888_Config, w, h);
fCheckerboard.allocPixels();
- SkDevice device(fCheckerboard);
+ SkBitmapDevice device(fCheckerboard);
SkCanvas canvas(&device);
canvas.clear(0x00000000);
SkPaint darkPaint;