Add missing overrides to clear and discard batch dumpInfo()

TBR=joshualitt@google.com

Review URL: https://codereview.chromium.org/1303533003
This commit is contained in:
Brian Salomon 2015-08-18 12:46:51 -04:00
parent 2d141ba2df
commit 9dc2a9a972
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ public:
uint32_t renderTargetUniqueID() const override { return fRenderTarget.get()->getUniqueID(); }
SkString dumpInfo() const {
SkString dumpInfo() const override {
SkString string;
string.printf("Color: 0x%08x, Rect [L: %d, T: %d, R: %d, B: %d], RT: 0x%p",
fColor, fRect.fLeft, fRect.fTop, fRect.fRight, fRect.fBottom,

View File

@ -25,7 +25,7 @@ public:
uint32_t renderTargetUniqueID() const override { return fRenderTarget.get()->getUniqueID(); }
SkString dumpInfo() const {
SkString dumpInfo() const override {
SkString string;
string.printf("RT: 0x%p", fRenderTarget.get());
return string;