rangeOfContents() should take a Node&.
<https://webkit.org/b/122438>

Reviewed by Darin Adler.

All callers of rangeOfContents() either have a Node& already,
or do some kind of null-checking before calling it.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157212 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tighten some renderer access in Document.
<https://webkit.org/b/121865>

Reviewed by Antti Koivisto.

A bit of Node/Element and RenderObject/RenderElement tightening.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157213 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix debug build after r157210
https://bugs.webkit.org/show_bug.cgi?id=122593

Patch by Sergio Correia <sergio.correia@openbossa.org> on 2013-10-10
Reviewed by Andreas Kling.

No new tests, build fix.

* dom/EventContext.cpp:
(WebCore::TouchEventContext::handleLocalEvents): Fix ASSERT, now that
event is a reference instead of a pointer.

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