diff options
author | yosin@chromium.org <yosin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-07 05:56:32 +0000 |
---|---|---|
committer | yosin@chromium.org <yosin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-07 05:56:32 +0000 |
commit | 83deae27106077366e8ae894798dd440e514d809 (patch) | |
tree | 1bb290bb82cd92f464975e37c3bfd1e4cac3e1e0 /chrome/browser/aeropeek_manager.cc | |
parent | 9e2a3137641bc104980e13388b6088d3f4a9b52f (diff) | |
download | chromium_src-83deae27106077366e8ae894798dd440e514d809.zip chromium_src-83deae27106077366e8ae894798dd440e514d809.tar.gz chromium_src-83deae27106077366e8ae894798dd440e514d809.tar.bz2 |
* Rename ScopedHDC to ScopedCreateDC
* Use ScopedSelectObject for changed files
BUG=99139
TEST=no user visible change
Review URL: http://codereview.chromium.org/8139022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104441 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/aeropeek_manager.cc')
-rw-r--r-- | chrome/browser/aeropeek_manager.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/aeropeek_manager.cc b/chrome/browser/aeropeek_manager.cc index 73c2481..cf27ed3 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; |