aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/script_layout_interface/wrapper_traits.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script_layout_interface/wrapper_traits.rs b/components/script_layout_interface/wrapper_traits.rs
index 32cb4853fa4..9df6a7b44f4 100644
--- a/components/script_layout_interface/wrapper_traits.rs
+++ b/components/script_layout_interface/wrapper_traits.rs
@@ -5,6 +5,7 @@
#![allow(unsafe_code)]
use HTMLCanvasData;
+use HTMLMediaData;
use LayoutNodeType;
use OpaqueStyleAndLayoutData;
use SVGSVGData;
@@ -279,6 +280,8 @@ pub trait ThreadSafeLayoutNode:
fn svg_data(&self) -> Option<SVGSVGData>;
+ fn media_data(&self) -> Option<HTMLMediaData>;
+
/// If this node is an iframe element, returns its browsing context ID. If this node is
/// not an iframe element, fails. Returns None if there is no nested browsing context.
fn iframe_browsing_context_id(&self) -> Option<BrowsingContextId>;