Make OwnPtr<HDC> work for the Chromium Windows port.
authorlevin@chromium.org <levin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 21 Jan 2012 00:36:54 +0000 (00:36 +0000)
committerlevin@chromium.org <levin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 21 Jan 2012 00:36:54 +0000 (00:36 +0000)
commit127292e1915121e7ee43d84f04228fb3b3c76035
treec464e2a57a92c1a3f2dde072492ac896a8215600
parenta9cb436912c4314ab17df314bdebd9ebb63b0550
Make OwnPtr<HDC> work for the Chromium Windows port.
https://bugs.webkit.org/show_bug.cgi?id=76738

Reviewed by Jian Li.

* JavaScriptCore.gyp/JavaScriptCore.gyp: Added OwnPtrWin.cpp to the
Chromium Windows build.
* wtf/OwnPtrCommon.h: Changed from platform WIN to OS WIN for
OwnPtr<HDC> and similar constructs.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@105555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp
Source/JavaScriptCore/wtf/OwnPtrCommon.h