summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLObjectElement.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/HTMLObjectElement.idl')
-rw-r--r--Source/WebCore/html/HTMLObjectElement.idl2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/html/HTMLObjectElement.idl b/Source/WebCore/html/HTMLObjectElement.idl
index 7d225ee05..40355c7b2 100644
--- a/Source/WebCore/html/HTMLObjectElement.idl
+++ b/Source/WebCore/html/HTMLObjectElement.idl
@@ -49,9 +49,11 @@
// Introduced in DOM Level 2:
[CheckSecurityForNode] readonly attribute Document contentDocument;
+#if defined(ENABLE_SVG) && ENABLE_SVG
#if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C
[CheckSecurityForNode, RaisesException] SVGDocument getSVGDocument();
#endif
+#endif
#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
// Objective-C extension: