Add missing overrides to clear and discard batch dumpInfo()
authorBrian Salomon <bsalomon@google.com>
Tue, 18 Aug 2015 16:46:51 +0000 (12:46 -0400)
committerBrian Salomon <bsalomon@google.com>
Tue, 18 Aug 2015 16:46:51 +0000 (12:46 -0400)
TBR=joshualitt@google.com

Review URL: https://codereview.chromium.org/1303533003

src/gpu/batches/GrClearBatch.h
src/gpu/batches/GrDiscardBatch.h

index b36a53f..0a2153f 100644 (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,
index 9d9570f..8a050a7 100644 (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;