Element's insertAdjacent API should lazy attach

insertAdjacentElement, insertAdjacentText and insertAdjacentHTML should all lazyAttach
just like appendChild() would have.

I also removed some redundant ASSERT_WITH_SECURITY_IMPLICATIONS that aren't needed
since we use toElement() right below them which contains the same assert.

R=ojan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154094 bbb929c8-8fbe-4397-9dbb-9b2b20218538
1 file changed