commit | c1905268549f55dd1de23e1c709f648085da7c91 | [log] [tgz] |
---|---|---|
author | Shawn Pearce <sop@google.com> | Tue Jan 27 10:44:31 2015 -0800 |
committer | Shawn Pearce <sop@google.com> | Tue Jan 27 10:44:31 2015 -0800 |
tree | ac23429a54cd43204a8a593f680ec494499dd44c | |
parent | 218dbfd7aacad280a21d5829f4b969e15b27da83 [diff] |
Edit Screen: Simplify creation of links from DiffInfo There is no need to retain the entire DiffInfo just for the links collection. Instead extract the links in the callback and use them if available. Simplify initEditor by setting up the links after the editor is created. There is no specific ordering here that requires the link setup to be done by initEditor. Change-Id: I1112ebd953ab3d8b00f7ecc310e7e28a57eeff09