Fix a crash in the PriorityQueue class which occurs while trying to assign an uninitialized iterator member to
a valid iterator instance.

This occurs if we have a valid Pointer instance with a valid iterator being assigned to an empty Pointer instance.
The ListIterator member in this case is uninitialized as per STL conventions and behaves like an uninitialized pointer
leading to crashes when this iterator is assigned to another.

Fix is to have a dummy List class and initialize this iterator to its end.

BUG=none
[email protected], jar

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236076 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed