Ignore:
Timestamp:
Jul 9, 2009, 1:00:04 PM (16 years ago)
Author:
[email protected]
Message:

2009-07-09 Joe Mason <[email protected]>

Reviewed by George Staikos.

Authors: Yong Li <[email protected]>, Joe Mason <[email protected]>

https://bugs.webkit.org/show_bug.cgi?id=27031
Add an override for deleteOwnedPtr(HDC) on Windows

  • wtf/OwnPtrCommon.h:
  • wtf/OwnPtrWin.cpp: (WTF::deleteOwnedPtr):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/OwnPtrWin.cpp

    r30907 r45669  
    11/*
    22 * Copyright (C) 2007 Apple Inc. All rights reserved.
     3 * Copyright (C) 2008, 2009 Torch Mobile, Inc.
    34 *
    45 * Redistribution and use in source and binary forms, with or without
     
    4344}
    4445
     46void deleteOwnedPtr(HDC ptr)
     47{
     48    if (ptr)
     49        DeleteDC(ptr);
     50}
     51
    4552void deleteOwnedPtr(HFONT ptr)
    4653{
Note: See TracChangeset for help on using the changeset viewer.