Address google3 compiler warning

https://codereview.appspot.com/7308063/



git-svn-id: http://skia.googlecode.com/svn/trunk@7655 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
robertphillips@google.com 2013-02-07 21:02:23 +00:00
Родитель 2d40ec4e9a
Коммит 5990397d08
3 изменённых файлов: 7 добавлений и 3 удалений

Просмотреть файл

@ -63,6 +63,8 @@ public:
virtual void flushedDrawCommands() SK_OVERRIDE {fDummy = !fDummy;} virtual void flushedDrawCommands() SK_OVERRIDE {fDummy = !fDummy;}
private: private:
bool fDummy; bool fDummy;
typedef SkDeferredCanvas::NotificationClient INHERITED;
}; };
// Test that records very simple draw operations. // Test that records very simple draw operations.

Просмотреть файл

@ -192,6 +192,8 @@ public:
public: public:
class NotificationClient { class NotificationClient {
public: public:
virtual ~NotificationClient() {}
/** /**
* Called before executing one or several draw commands, which means * Called before executing one or several draw commands, which means
* once per flush when deferred rendering is enabled. * once per flush when deferred rendering is enabled.
@ -218,9 +220,6 @@ public:
* or completely overwritten by the command currently being recorded. * or completely overwritten by the command currently being recorded.
*/ */
virtual void skippedPendingDrawCommands() {} virtual void skippedPendingDrawCommands() {}
private:
typedef SkRefCnt INHERITED;
}; };
protected: protected:

Просмотреть файл

@ -260,6 +260,9 @@ public:
int fStorageAllocatedChangedCount; int fStorageAllocatedChangedCount;
int fFlushedDrawCommandsCount; int fFlushedDrawCommandsCount;
int fSkippedPendingDrawCommandsCount; int fSkippedPendingDrawCommandsCount;
private:
typedef SkDeferredCanvas::NotificationClient INHERITED;
}; };
static void TestDeferredCanvasBitmapCaching(skiatest::Reporter* reporter) { static void TestDeferredCanvasBitmapCaching(skiatest::Reporter* reporter) {