aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/DisplacementBench.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-08-20 17:49:04 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-08-20 17:49:04 +0000
commit3055b700189afdd02486ed8f2279cea1d8897243 (patch)
treea66e6ce6e9717464dd67eb206f76440da9bab059 /bench/DisplacementBench.cpp
parent4eaa6647e70c9404d1c920f674d706ca2d2a76b9 (diff)
Split SkDevice out of SkBitmapDevice
Diffstat (limited to 'bench/DisplacementBench.cpp')
-rw-r--r--bench/DisplacementBench.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/DisplacementBench.cpp b/bench/DisplacementBench.cpp
index 5adec1f706..8f1483a50a 100644
--- a/bench/DisplacementBench.cpp
+++ b/bench/DisplacementBench.cpp
@@ -35,7 +35,7 @@ protected:
const int h = isSmall() ? FILTER_HEIGHT_LARGE : FILTER_HEIGHT_LARGE;
fBitmap.setConfig(SkBitmap::kARGB_8888_Config, w, h);
fBitmap.allocPixels();
- SkDevice device(fBitmap);
+ SkBitmapDevice device(fBitmap);
SkCanvas canvas(&device);
canvas.clear(0x00000000);
SkPaint paint;
@@ -51,7 +51,7 @@ protected:
const int h = isSmall() ? 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;