Clipboard: Simplify WinClipboard::WriteToClipboard and make uses more consistent
WriteToClipboard expected a cfFormat, but inconsistently retrieved this from a hardcoded value or the ClipboardFormatType. Consistently pass in a ClipboardFormatType, and retrieve the cfFormat in WriteToClipboard. Refactoring change, so no functional changes intended. Bug: 1048945 Change-Id: I7f73d0904a8d1b3c02de220f471ebca9a71535c1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2036281 Commit-Queue: Darwin Huang <huangdarwin@chromium.org> Reviewed-by:Victor Costan <pwnall@chromium.org> Auto-Submit: Darwin Huang <huangdarwin@chromium.org> Cr-Commit-Position: refs/heads/master@{#738883}
Showing
Please register or sign in to comment