[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