diff options
Diffstat (limited to 'WebCore/html/HTMLVideoElement.h')
-rw-r--r-- | WebCore/html/HTMLVideoElement.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/WebCore/html/HTMLVideoElement.h b/WebCore/html/HTMLVideoElement.h index 5480448..4b8acbb 100644 --- a/WebCore/html/HTMLVideoElement.h +++ b/WebCore/html/HTMLVideoElement.h @@ -36,7 +36,7 @@ class HTMLImageLoader; class HTMLVideoElement : public HTMLMediaElement { public: - HTMLVideoElement(const QualifiedName&, Document*); + static PassRefPtr<HTMLVideoElement> create(const QualifiedName&, Document*); unsigned width() const; void setWidth(unsigned); @@ -66,6 +66,8 @@ public: void paintCurrentFrameInContext(GraphicsContext*, const IntRect&); private: + HTMLVideoElement(const QualifiedName&, Document*); + virtual int tagPriority() const { return 5; } virtual bool rendererIsNeeded(RenderStyle*); #if !ENABLE(PLUGIN_PROXY_FOR_VIDEO) |