summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/RenderTableCaption.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/rendering/RenderTableCaption.h')
-rw-r--r--Source/WebCore/rendering/RenderTableCaption.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebCore/rendering/RenderTableCaption.h b/Source/WebCore/rendering/RenderTableCaption.h
index 91edb9f6e..3fb51db33 100644
--- a/Source/WebCore/rendering/RenderTableCaption.h
+++ b/Source/WebCore/rendering/RenderTableCaption.h
@@ -28,7 +28,7 @@ class RenderTable;
class RenderTableCaption : public RenderBlock {
public:
- explicit RenderTableCaption(Node*);
+ explicit RenderTableCaption(Element*);
virtual ~RenderTableCaption();
virtual LayoutUnit containingBlockLogicalWidthForContent() const OVERRIDE;
@@ -43,13 +43,13 @@ private:
inline RenderTableCaption* toRenderTableCaption(RenderObject* object)
{
- ASSERT(!object || object->isTableCaption());
+ ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isTableCaption());
return static_cast<RenderTableCaption*>(object);
}
inline const RenderTableCaption* toRenderTableCaption(const RenderObject* object)
{
- ASSERT(!object || object->isTableCaption());
+ ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isTableCaption());
return static_cast<const RenderTableCaption*>(object);
}