Add iterative destructor for LinkedStack to avoid StackOverflow when destroying long linked lists.
Add iterative destructor for LinkedStack to avoid StackOverflow when destroying long linked lists.

BUG=527683

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

git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@202480 bbb929c8-8fbe-4397-9dbb-9b2b20218538

axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk