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:
skia.committer@gmail.com 2013-05-21 07:01:40 +00:00
parent 0e59b796e5
commit 3e50e99fe7
5 changed files with 3 additions and 6 deletions

View File

@ -261,7 +261,7 @@ class SkDrawPictureCallback {
public:
SkDrawPictureCallback() {}
virtual ~SkDrawPictureCallback() {}
virtual bool abortDrawing() = 0;
};

View File

@ -1,4 +1,4 @@
/*
* Copyright 2011 Google Inc.
*

View File

@ -35,5 +35,3 @@ void SkImage::draw(SkCanvas* canvas, SkScalar x, SkScalar y,
GrTexture* SkImage::getTexture() {
return asIB(this)->onGetTexture();
}

View File

@ -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; }

View File

@ -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;
}