diff options
author | 2015-01-02 06:39:51 -0800 | |
---|---|---|
committer | 2015-01-02 06:39:51 -0800 | |
commit | c4fda92f45b9649f233a5b8636618a6431aa59cb (patch) | |
tree | 18eab2beddd77308e51e6aba0fa152e883d7b1b0 /include/core | |
parent | 7c339ae1e362e9f02cdfb9b32007f143dec0bc0e (diff) |
remove unused drawData
BUG=skia:
Review URL: https://codereview.chromium.org/830083002
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkCanvas.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index 121239d4bf..cb4fedefdc 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -1017,15 +1017,15 @@ public: void EXPERIMENTAL_drawDrawable(SkCanvasDrawable*); +#ifdef SK_SUPPORT_LEGACY_DRAWDATA /** Send a blob of data to the canvas. For canvases that draw, this call is effectively a no-op, as the data is not parsed, but just ignored. However, this call exists for subclasses like SkPicture's recording canvas, that can store the data and then play it back later (via another call to drawData). */ - virtual void drawData(const void* /*data*/, size_t /*length*/) { - // do nothing. Subclasses may do something with the data - } + virtual void drawData(const void* /*data*/, size_t /*length*/) {} +#endif /** Add comments. beginCommentGroup/endCommentGroup open/close a new group. Each comment added via addComment is notionally attached to its |