Skip removal of stylesheet candidate node if not added.

There is a flag saying whether it was added which was already in use in
StyleElement::removedFrom. Also removed an unnecessary test and bogus
comment for HTMLLinkElement. StyleElement is only used by HTMLStyleElement
and SVGStyleElement.

Review URL: https://codereview.chromium.org/980343002

git-svn-id: svn://svn.chromium.org/blink/trunk@191792 bbb929c8-8fbe-4397-9dbb-9b2b20218538
1 file changed
tree: 409588008db3f0f395a5b1eab493e00ace49fde3
  1. third_party/