Remove Ref(const T&) constructor.
<https://webkit.org/b/121384>

Reviewed by Anders Carlsson.

This constructor was added as a stopgap measure until we got better support
for move semantics in Vector.

* wtf/Ref.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155805 268f45cc-cd09-0410-ab3c-d52691b4dbfc
CTTE: RenderWidgets are never anonymous.
<https://webkit.org/b/121385>

Reviewed by Anders Carlsson.

Codify the following:

- RenderWidget always has an HTMLFrameOwnerElement.
- RenderEmbeddedObject always has an HTMLFrameOwnerElement.
- RenderSnapshottedPlugIn always has an HTMLPlugInImageElement.
- RenderFrame always has an HTMLFrameElement.
- RenderIFrame always has an HTMLIFrameElement.

None of these renderers are ever anonymous, so delete element() and provide
strongly typed reference getters instead.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove RenderObject::clearNode().
<https://webkit.org/b/121386>

Reviewed by Anders Carlsson.

This was used by ref-counted RenderWidgets after getting removed from their
parent renderer but kept alive by an external ref. We have no need for this
awkward state anymore, so remove clearNode().

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155807 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CTTE] Node subclasses should take a Document by reference in their constructor (Part 6)
https://bugs.webkit.org/show_bug.cgi?id=121387

Reviewed by Andreas Kling.

Converts the following to take a Document reference:
    - Attr
    - CDATASection
    - CharacterData
    - Comment
    - DOMImplementation
    - DocumentFragment
    - DocumentType
    - EntityReference
    - Notation
    - ProcessingInstruction
    - ShadowRoot
    - TemplateContentDocumentFragment
    - Text


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155808 268f45cc-cd09-0410-ab3c-d52691b4dbfc
CTTE: RenderMedia and RenderVideo are never anonymous.
<https://webkit.org/b/121388>

Reviewed by Sam Weinig.

Codify the following:

- RenderMedia always has an HTMLMediaElement.
- RenderVideo always has an HTMLVideoElement.

None of these renderers are ever anonymous, so delete element() and provide
strongly typed reference getters instead.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155809 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r155809.
http://trac.webkit.org/changeset/155809
https://bugs.webkit.org/show_bug.cgi?id=121388

Accidentally removed files, let's redo this.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
CTTE: RenderMedia and RenderVideo are never anonymous.
<https://webkit.org/b/121388>

Reviewed by Sam Weinig.

Codify the following:

- RenderMedia always has an HTMLMediaElement.
- RenderVideo always has an HTMLVideoElement.

None of these renderers are ever anonymous, so delete element() and provide
strongly typed reference getters instead.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WIN] Fix build without precompiled header after r155454.

* wtf/win/GDIObject.h: Added missing windows.h include.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155812 268f45cc-cd09-0410-ab3c-d52691b4dbfc