зеркало из https://github.com/mozilla/moz-skia.git
Response to post-commit review comments on r4714
Correcting formatting and adding const in SkDeferredCanvas.h Unreviewed git-svn-id: http://skia.googlecode.com/svn/trunk@4718 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
61fea88711
Коммит
8317e17448
|
@ -178,8 +178,8 @@ protected:
|
|||
virtual void notifyWritten(size_t bytes) SK_OVERRIDE;
|
||||
void playback();
|
||||
void reset();
|
||||
bool hasRecorded() {return fAllocator.blockCount() != 0;}
|
||||
size_t storageAllocatedForRecording() {return fAllocator.totalCapacity();}
|
||||
bool hasRecorded() const { return fAllocator.blockCount() != 0; }
|
||||
size_t storageAllocatedForRecording() const { return fAllocator.totalCapacity(); }
|
||||
private:
|
||||
enum {
|
||||
kMinBlockSize = 4096
|
||||
|
|
Загрузка…
Ссылка в новой задаче