Commit 3a143c2d authored by Darwin Huang's avatar Darwin Huang Committed by Commit Bot

Clipboard: update links in comments.

There were some broken/redirected links in comments, so just updating them.

Comment-only change.

Change-Id: I45765b558fd03e20381c7cd7b328e3bdc9ba12dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1700470
Auto-Submit: Darwin Huang <huangdarwin@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#677110}
parent 3daa4494
...@@ -424,7 +424,7 @@ SkBitmap ClipboardWin::ReadImage(ClipboardType type) const { ...@@ -424,7 +424,7 @@ SkBitmap ClipboardWin::ReadImage(ClipboardType type) const {
int color_table_length = 0; int color_table_length = 0;
// For more information on BITMAPINFOHEADER and biBitCount definition, // For more information on BITMAPINFOHEADER and biBitCount definition,
// see https://docs.microsoft.com/en-us/previous-versions//dd183376(v=vs.85) // see https://docs.microsoft.com/en-us/windows/win32/wmdm/-bitmapinfoheader
switch (bitmap->bmiHeader.biBitCount) { switch (bitmap->bmiHeader.biBitCount) {
case 1: case 1:
case 4: case 4:
...@@ -647,7 +647,8 @@ void ClipboardWin::WriteBitmap(const SkBitmap& in_bitmap) { ...@@ -647,7 +647,8 @@ void ClipboardWin::WriteBitmap(const SkBitmap& in_bitmap) {
// ::CreateDIBSection allocates memory for us to copy our bitmap into. // ::CreateDIBSection allocates memory for us to copy our bitmap into.
// Unfortunately, we can't write the created bitmap to the clipboard, // Unfortunately, we can't write the created bitmap to the clipboard,
// (see http://msdn2.microsoft.com/en-us/library/ms532292.aspx) // (see
// https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-createdibsection)
void* bits; void* bits;
HBITMAP source_hbitmap = HBITMAP source_hbitmap =
::CreateDIBSection(dc, &bm_info, DIB_RGB_COLORS, &bits, NULL, 0); ::CreateDIBSection(dc, &bm_info, DIB_RGB_COLORS, &bits, NULL, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment