commit | 1f2f338e23789f3eef168dcbd8171a28820ba6c1 | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Aug 29 11:54:56 2013 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Aug 29 11:54:56 2013 +0000 |
tree | cfa6c68aca1dbad85f6ae0d3e1e616d9dac1369b | |
parent | 3e8466a1520343e2e7d280d9d1f39b2bd048fbb9 [diff] [blame] |
Split SkDevice into SkBaseDevice and SkBitmapDevice https://codereview.chromium.org/22978012/ git-svn-id: http://skia.googlecode.com/svn/trunk@10995 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/texdata.cpp b/gm/texdata.cpp index 612cc64..0e2d7fd 100644 --- a/gm/texdata.cpp +++ b/gm/texdata.cpp
@@ -38,7 +38,7 @@ } virtual void onDraw(SkCanvas* canvas) { - SkDevice* device = canvas->getTopDevice(); + SkBaseDevice* device = canvas->getTopDevice(); GrRenderTarget* target = device->accessRenderTarget(); GrContext* ctx = GetGr(); if (ctx && target) {