Index: Source/core/rendering/RenderRuby.cpp |
diff --git a/Source/core/rendering/RenderRuby.cpp b/Source/core/rendering/RenderRuby.cpp |
index 563ce62cf1a019d8bbec18668706c1c91c072e08..2dc97b51bc7642a235c79d2f6f207593a2c7a2b0 100644 |
--- a/Source/core/rendering/RenderRuby.cpp |
+++ b/Source/core/rendering/RenderRuby.cpp |
@@ -32,6 +32,7 @@ |
#include "core/rendering/RenderRuby.h" |
+#include "core/frame/UseCounter.h" |
#include "core/rendering/RenderRubyRun.h" |
#include "core/rendering/style/RenderStyle.h" |
#include "wtf/RefPtr.h" |
@@ -111,6 +112,7 @@ static inline RenderRubyRun* findRubyRunParent(RenderObject* child) |
RenderRubyAsInline::RenderRubyAsInline(Element* element) |
: RenderInline(element) |
{ |
+ UseCounter::count(document(), UseCounter::RenderRuby); |
} |
RenderRubyAsInline::~RenderRubyAsInline() |
@@ -219,6 +221,7 @@ void RenderRubyAsInline::removeChild(RenderObject* child) |
RenderRubyAsBlock::RenderRubyAsBlock(Element* element) |
: RenderBlockFlow(element) |
{ |
+ UseCounter::count(document(), UseCounter::RenderRuby); |
} |
RenderRubyAsBlock::~RenderRubyAsBlock() |