Remove a redundant virtual call to hostWindow() in FrameView::invalidateRect()
https://bugs.webkit.org/show_bug.cgi?id=117685

Reviewed by Andreas Kling.

From Blink r152490 by <vivek.vg@samsung.com>

* page/FrameView.cpp:
(WebCore::FrameView::invalidateRect): Avoid hostWindow() twice call.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151628 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix test assertion after r151624

An assertion was hit in RenderObject::willBeDestroyed()
for fast/css/getComputedStyle/getComputedStyle-background-shorthand.html
because the code asserted that the RenderObject had been removed from
the FrameView's slowRepaintObject set before remove() was called,
so move the assertion to after that call.

* rendering/RenderObject.cpp:
(WebCore::RenderObject::willBeDestroyed):

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