diff options
author | jianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-21 23:48:34 +0000 |
---|---|---|
committer | jianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-21 23:48:34 +0000 |
commit | 9257d0132435d1248ca586e878ee67b1b8dcdb56 (patch) | |
tree | 5a6f4164d9f25dc7f0f6b0e83b81c37491141b39 /base/scoped_handle_win.h | |
parent | a1a61172ee9e1c59f257c4c8c49d4b9eb4c046e9 (diff) | |
download | chromium_src-9257d0132435d1248ca586e878ee67b1b8dcdb56.zip chromium_src-9257d0132435d1248ca586e878ee67b1b8dcdb56.tar.gz chromium_src-9257d0132435d1248ca586e878ee67b1b8dcdb56.tar.bz2 |
Add V8 bindings for Worker.
Review URL: http://codereview.chromium.org/17246
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8414 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/scoped_handle_win.h')
-rw-r--r-- | base/scoped_handle_win.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/scoped_handle_win.h b/base/scoped_handle_win.h index ead32ac..e9b2532 100644 --- a/base/scoped_handle_win.h +++ b/base/scoped_handle_win.h @@ -130,8 +130,12 @@ class ScopedHDC { private: void Close() { +#ifdef NOGDI + assert(false); +#else if (hdc_) DeleteDC(hdc_); +#endif // NOGDI } HDC hdc_; |