summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/RenderRubyRun.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/rendering/RenderRubyRun.h')
-rw-r--r--Source/WebCore/rendering/RenderRubyRun.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/WebCore/rendering/RenderRubyRun.h b/Source/WebCore/rendering/RenderRubyRun.h
index f65ad86c6..1e553a6a0 100644
--- a/Source/WebCore/rendering/RenderRubyRun.h
+++ b/Source/WebCore/rendering/RenderRubyRun.h
@@ -43,7 +43,6 @@ class RenderRubyText;
class RenderRubyRun : public RenderBlock {
public:
- RenderRubyRun(Node*);
virtual ~RenderRubyRun();
bool hasRubyText() const;
@@ -71,6 +70,8 @@ protected:
RenderRubyBase* createRubyBase() const;
private:
+ RenderRubyRun();
+
virtual bool isRubyRun() const { return true; }
virtual const char* renderName() const { return "RenderRubyRun (anonymous)"; }
virtual bool createsAnonymousWrapper() const { return true; }
@@ -79,13 +80,13 @@ private:
inline RenderRubyRun* toRenderRubyRun(RenderObject* object)
{
- ASSERT(!object || object->isRubyRun());
+ ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isRubyRun());
return static_cast<RenderRubyRun*>(object);
}
inline const RenderRubyRun* toRenderRubyRun(const RenderObject* object)
{
- ASSERT(!object || object->isBox());
+ ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isBox());
return static_cast<const RenderRubyRun*>(object);
}