Index: chrome/browser/aeropeek_manager.cc |
diff --git a/chrome/browser/aeropeek_manager.cc b/chrome/browser/aeropeek_manager.cc |
index 73c24812364571b818eec7d8059c9b8df31b9552..cf27ed31d8efed5889b482d1f911581f4aefcc8a 100644 |
--- a/chrome/browser/aeropeek_manager.cc |
+++ b/chrome/browser/aeropeek_manager.cc |
@@ -224,7 +224,7 @@ class SendThumbnailTask : public Task { |
// Create a DIB, copy the resized image, and send the DIB to Windows. |
// We can delete this DIB after sending it to Windows since Windows creates |
// a copy of the DIB and use it. |
- base::win::ScopedHDC hdc(CreateCompatibleDC(NULL)); |
+ base::win::ScopedCreateDC hdc(CreateCompatibleDC(NULL)); |
if (!hdc.Get()) { |
LOG(ERROR) << "cannot create a memory DC: " << GetLastError(); |
return; |
@@ -339,7 +339,7 @@ class SendLivePreviewTask : public Task { |
// tab image into the DIB, and send it to Windows. |
// We don't need to paste this tab image onto the frame image since Windows |
// automatically pastes it for us. |
- base::win::ScopedHDC hdc(CreateCompatibleDC(NULL)); |
+ base::win::ScopedCreateDC hdc(CreateCompatibleDC(NULL)); |
if (!hdc.Get()) { |
LOG(ERROR) << "cannot create a memory DC: " << GetLastError(); |
return; |