Index: Source/core/rendering/RenderCounter.h |
diff --git a/Source/core/rendering/RenderCounter.h b/Source/core/rendering/RenderCounter.h |
index 4f5202f8178b478f3b9b90a6951a4c6114a4bb37..f0c4a0811ec3e3d34b8a6dace63ae0eb6685b9bc 100644 |
--- a/Source/core/rendering/RenderCounter.h |
+++ b/Source/core/rendering/RenderCounter.h |
@@ -48,7 +48,7 @@ protected: |
private: |
virtual const char* renderName() const OVERRIDE; |
- virtual bool isCounter() const OVERRIDE; |
+ virtual bool isOfType(RenderObjectType type) const OVERRIDE { return type == RenderObjectCounter || RenderText::isOfType(type); } |
virtual PassRefPtr<StringImpl> originalText() const OVERRIDE; |
// Removes the reference to the CounterNode associated with this renderer. |