Use a helper method throughout the code instead of same code block.
Created attachment 224613 [details] Patch
Comment on attachment 224613 [details] Patch r=me
Comment on attachment 224613 [details] Patch Clearing flags on attachment: 224613 Committed r164419: <http://trac.webkit.org/changeset/164419>
All reviewed patches have been landed. Closing bug.