Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Unified Diff: base/scoped_handle_win.h

Issue 17246: Add V8 bindings for Worker (Part I). (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/scoped_handle_win.h
===================================================================
--- base/scoped_handle_win.h (revision 8350)
+++ base/scoped_handle_win.h (working copy)
@@ -130,8 +130,12 @@
private:
void Close() {
+#ifdef NOGDI
+ assert(false);
+#else
if (hdc_)
DeleteDC(hdc_);
+#endif // NOGDI
}
HDC hdc_;
« no previous file with comments | « no previous file | base/thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698