summaryrefslogtreecommitdiffstats
path: root/cc/test
diff options
context:
space:
mode:
authorrobertphillips@google.com <robertphillips@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-26 18:37:29 +0000
committerrobertphillips@google.com <robertphillips@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-26 18:37:29 +0000
commit598e4f866fb1540d4d5e4351694bb3c9b0a20a1b (patch)
treedf1a98aa62ccff7ffacacfa4c961d2ee74e6bf2f /cc/test
parent93773d08322990032231aa26c4eba4f02014de99 (diff)
downloadchromium_src-598e4f866fb1540d4d5e4351694bb3c9b0a20a1b.zip
chromium_src-598e4f866fb1540d4d5e4351694bb3c9b0a20a1b.tar.gz
chromium_src-598e4f866fb1540d4d5e4351694bb3c9b0a20a1b.tar.bz2
Skia is going to Split the SkDevice class into SkBaseDevice and SkBitmapDevice. Right now Skia has typedefs redirecting SkBaseDevice and SkBitmapDevice to SkDevice. This CL begins the Chromium-side renaming process in preparation for the real change (https://codereview.chromium.org/22978012/)
BUG=278148 Review URL: https://chromiumcodereview.appspot.com/22796028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219568 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test')
-rw-r--r--cc/test/skia_common.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/test/skia_common.cc b/cc/test/skia_common.cc
index 5c83f13..67c72f4 100644
--- a/cc/test/skia_common.cc
+++ b/cc/test/skia_common.cc
@@ -6,7 +6,7 @@
#include "cc/resources/picture.h"
#include "skia/ext/refptr.h"
-#include "third_party/skia/include/core/SkDevice.h"
+#include "third_party/skia/include/core/SkBitmapDevice.h"
#include "ui/gfx/rect.h"
#include "ui/gfx/skia_util.h"
@@ -65,7 +65,7 @@ void DrawPicture(unsigned char* buffer,
layer_rect.width(),
layer_rect.height());
bitmap.setPixels(buffer);
- SkDevice device(bitmap);
+ SkBitmapDevice device(bitmap);
SkCanvas canvas(&device);
canvas.clipRect(gfx::RectToSkRect(layer_rect));
picture->Raster(&canvas, NULL, layer_rect, 1.0f);