aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkRecordDraw.h
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-02-06 08:36:15 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-06 08:36:15 -0800
commit3cb3840c9af6f70896cf5565a38d4ee03c02d767 (patch)
treecca84070500dbdd9b4cc1e2b1a7d125964739e81 /src/core/SkRecordDraw.h
parentc4e87724920222a218f31b22612efc5b1ec0ed6c (diff)
Rename SkCanvasDrawable to SkDrawable, and make public
(patchset #2 id:20001 of https://codereview.chromium.org/903993002/)" This reverts commit c4e87724920222a218f31b22612efc5b1ec0ed6c. BUG=skia: TBR= NOTREECHECKS=True Review URL: https://codereview.chromium.org/898343004
Diffstat (limited to 'src/core/SkRecordDraw.h')
-rw-r--r--src/core/SkRecordDraw.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/SkRecordDraw.h b/src/core/SkRecordDraw.h
index 593674eddd..7bbab81b5a 100644
--- a/src/core/SkRecordDraw.h
+++ b/src/core/SkRecordDraw.h
@@ -13,7 +13,7 @@
#include "SkMatrix.h"
#include "SkRecord.h"
-class SkCanvasDrawable;
+class SkDrawable;
class SkLayerInfo;
// Fill a BBH to be used by SkRecordDraw to accelerate playback.
@@ -25,7 +25,7 @@ void SkRecordComputeLayers(const SkRect& cullRect, const SkRecord& record,
// Draw an SkRecord into an SkCanvas. A convenience wrapper around SkRecords::Draw.
void SkRecordDraw(const SkRecord&, SkCanvas*, SkPicture const* const drawablePicts[],
- SkCanvasDrawable* const drawables[], int drawableCount,
+ SkDrawable* const drawables[], int drawableCount,
const SkBBoxHierarchy*, SkPicture::AbortCallback*);
// Draw a portion of an SkRecord into an SkCanvas.
@@ -43,7 +43,7 @@ namespace SkRecords {
class Draw : SkNoncopyable {
public:
explicit Draw(SkCanvas* canvas, SkPicture const* const drawablePicts[],
- SkCanvasDrawable* const drawables[], int drawableCount,
+ SkDrawable* const drawables[], int drawableCount,
const SkMatrix* initialCTM = NULL)
: fInitialCTM(initialCTM ? *initialCTM : canvas->getTotalMatrix())
, fCanvas(canvas)
@@ -70,7 +70,7 @@ private:
const SkMatrix fInitialCTM;
SkCanvas* fCanvas;
SkPicture const* const* fDrawablePicts;
- SkCanvasDrawable* const* fDrawables;
+ SkDrawable* const* fDrawables;
int fDrawableCount;
};