Removing some dead code in SkDeferredCanvas

REVIEW=http://codereview.appspot.com/5620062/



git-svn-id: http://skia.googlecode.com/svn/trunk@3140 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
junov@chromium.org 2012-02-03 18:32:38 +00:00
parent db12fee829
commit 2c23708e44
2 changed files with 0 additions and 9 deletions

View File

@ -143,7 +143,6 @@ public:
class DeviceContext : public SkRefCnt {
public:
virtual void prepareForDraw() {}
virtual void flush() {}
};
public:
@ -183,7 +182,6 @@ public:
SkDevice* immediateDevice() const {return fImmediateDevice;}
void flushPending();
void flushContext();
void purgePending();
void flushIfNeeded(const SkBitmap& bitmap);

View File

@ -538,13 +538,6 @@ void SkDeferredCanvas::DeferredDevice::flush()
fImmediateCanvas->flush();
}
void SkDeferredCanvas::DeferredDevice::flushContext()
{
if (fDeviceContext) {
fDeviceContext->flush();
}
}
void SkDeferredCanvas::DeferredDevice::flushIfNeeded(const SkBitmap& bitmap)
{
if (bitmap.isImmutable()) {