
Added check for same parents between placeholder and elem to avoid moving
elem in DOM if possible. Helps to prevent issues with Flash reloading when
elem is removed and inserted.

R=nicksantos,bca,arv,cberry
DELTA=16  (13 added, 0 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=2946


git-svn-id: 35241bd708fe29f1f6c7a4322d322e99ff93b95e@1202 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

knutwalker/google-closure-library,homer6/google-closure-library,thinkfuse/google-closure,KgDesignes/closure-library,KgDesignes/closure-library,homer6/google-closure-library,homer6/google-closure-library,KgDesignes/closure-library,thinkfuse/google-closure,thinkfuse/google-closure,knutwalker/google-closure-library