Fix an assertion failure introduced in r156925.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Oct 2013 06:54:54 +0000 (06:54 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Oct 2013 06:54:54 +0000 (06:54 +0000)
commit491c0f6969d06290dd5c53bdd988da5d7315895e
tree8ea695a63aab364bb4c84ebba6ad50ad4b929df8
parent13c3bb7b89f3125f58171f96e2019ba246efe317
Fix an assertion failure introduced in r156925.

Add HTMLImageElement to the document-wide map only if it's in the document.

* html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::parseAttribute):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156950 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/html/HTMLImageElement.cpp