Unreviewed. Fix GTK+ build after r162808.

* webkit/webkitwebhistoryitem.cpp:
(webkit_web_history_item_new_with_data):
(webkit_web_history_item_get_last_visited_time):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162829 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[SOUP] WebProcess sometimes crashes when a download is cancelled
https://bugs.webkit.org/show_bug.cgi?id=127650

Reviewed by Martin Robinson.

The problem is that when the download is cancelled, the download
manager removes the download from the map and it's deleted. The
Download destructor calls platformInvalidate() that cancels the
resource handle if there's still one. We set to nullptr the
ResourceHandle when the download is cancelled to avoid cancelling
it twice, but it's done after calling Download::didCancel(). It
should be done before, because at that moment, when the download
is deleted, the resource handle pointer is still valid.

* Shared/Downloads/soup/DownloadSoup.cpp:
(WebKit::Download::cancel):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162830 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Another iOS build fix.

* Misc/WebElementDictionary.mm:
(-[WebElementDictionary _image]):
We were apparently depending on Image::getNSImage() being defined
(yet always returning nullptr) on iOS.


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