diff options
author | vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2010-10-26 19:44:10 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2010-10-26 19:44:10 +0000 |
commit | 99a45d3b5a2f492b3ee3d5d8c8baa52745c4b2fa (patch) | |
tree | 416b89aaba8864c51c0c62d4b9d00f7c25bd5358 /include | |
parent | ad11495e3d0809e4cc264f7302e399a7a5f430d0 (diff) |
Fix SkDraw::validate to work with vector Devices.
Vector devices don't have a (valid) fBitmap, so pass in width and height.
Review URL: http://codereview.appspot.com/2718041
git-svn-id: http://skia.googlecode.com/svn/trunk@616 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkDraw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkDraw.h b/include/core/SkDraw.h index 821485953b..5ed4aadee1 100644 --- a/include/core/SkDraw.h +++ b/include/core/SkDraw.h @@ -88,7 +88,7 @@ public: SkDrawProcs* fProcs; // optional #ifdef SK_DEBUG - void validate() const; + void validate(int width, int height) const; #endif }; |