Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(979)

Unified Diff: Source/core/html/HTMLVideoElement.h

Issue 66643004: Remove QualifiedName argument from most HTMLElement::create functions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Hack for XML prefix Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLVideoElement.h
diff --git a/Source/core/html/HTMLVideoElement.h b/Source/core/html/HTMLVideoElement.h
index 0c72faba4a6302963e2b249b9ab593673455ddf7..4d729f39fa578c4850bf64e9d871a99aca46f5e1 100644
--- a/Source/core/html/HTMLVideoElement.h
+++ b/Source/core/html/HTMLVideoElement.h
@@ -35,8 +35,7 @@ class HTMLImageLoader;
class HTMLVideoElement FINAL : public HTMLMediaElement {
public:
- static PassRefPtr<HTMLVideoElement> create(Document& document) { return create(HTMLNames::videoTag, document, false); }
- static PassRefPtr<HTMLVideoElement> create(const QualifiedName&, Document&, bool);
+ static PassRefPtr<HTMLVideoElement> create(Document&, bool createdByParser = false);
unsigned videoWidth() const;
unsigned videoHeight() const;
@@ -63,7 +62,7 @@ public:
KURL posterImageURL() const;
private:
- HTMLVideoElement(const QualifiedName&, Document&, bool);
+ HTMLVideoElement(Document&, bool);
virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE;
virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698