Index: Source/core/html/HTMLVideoElement.cpp |
diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp |
index 5bea9764c204f789445916db0b3b813f14f7ee40..0c1c5b37c580de440496c5c8c44aafac37517917 100644 |
--- a/Source/core/html/HTMLVideoElement.cpp |
+++ b/Source/core/html/HTMLVideoElement.cpp |
@@ -143,20 +143,6 @@ unsigned HTMLVideoElement::videoHeight() const |
return player()->naturalSize().height(); |
} |
-unsigned HTMLVideoElement::width() const |
-{ |
- bool ok; |
- unsigned w = getAttribute(widthAttr).string().toUInt(&ok); |
- return ok ? w : 0; |
-} |
- |
-unsigned HTMLVideoElement::height() const |
-{ |
- bool ok; |
- unsigned h = getAttribute(heightAttr).string().toUInt(&ok); |
- return ok ? h : 0; |
-} |
- |
bool HTMLVideoElement::isURLAttribute(const Attribute& attribute) const |
{ |
return attribute.name() == posterAttr || HTMLMediaElement::isURLAttribute(attribute); |