Remove dead code in line_ending.{h,cc}
* Remove the CString-version of NormalizeLineEndingsToCRLF() It's not used. * Remove CStringBuffer. Only the CString NormalizeLineEndingsToCRLF() used it. * Fold VectorCharAppendBuffer into InternalNormalizeLineEndingsToCRLF() OutputBuffer abstraction isn't necessary due to the removal of CStringBuffer, and InternalNormalizeLineEndingsToCRLF() is the only user of OutputBuffer. * Wrap InternalNormalizeLineEndingsToCRLF() with OS_WIN. It is used only on Windows. This CL has no behavior changes. Change-Id: I01d6177601f8be5fd5137f1554e7824080422d8f Reviewed-on: https://chromium-review.googlesource.com/1072222Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#561776}
Showing
Please register or sign in to comment