Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9207 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
0e59b796e5
commit
3e50e99fe7
@ -261,7 +261,7 @@ class SkDrawPictureCallback {
|
||||
public:
|
||||
SkDrawPictureCallback() {}
|
||||
virtual ~SkDrawPictureCallback() {}
|
||||
|
||||
|
||||
virtual bool abortDrawing() = 0;
|
||||
};
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
|
||||
/*
|
||||
* Copyright 2011 Google Inc.
|
||||
*
|
||||
|
@ -35,5 +35,3 @@ void SkImage::draw(SkCanvas* canvas, SkScalar x, SkScalar y,
|
||||
GrTexture* SkImage::getTexture() {
|
||||
return asIB(this)->onGetTexture();
|
||||
}
|
||||
|
||||
|
||||
|
@ -16,7 +16,7 @@ public:
|
||||
|
||||
virtual void onDraw(SkCanvas*, SkScalar x, SkScalar y, const SkPaint*) = 0;
|
||||
virtual GrTexture* onGetTexture() { return NULL; }
|
||||
|
||||
|
||||
// return a read-only copy of the pixels. We promise to not modify them,
|
||||
// but only inspect them (or encode them).
|
||||
virtual bool getROPixels(SkBitmap*) const { return false; }
|
||||
|
@ -50,4 +50,3 @@ SkData* SkImageEncoder::EncodeData(const SkBitmap& bm, Type t, int quality) {
|
||||
SkAutoTDelete<SkImageEncoder> enc(SkImageEncoder::Create(t));
|
||||
return enc.get() ? enc.get()->encodeData(bm, quality) : NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user