• thakis@chromium.org's avatar
    clang/win: Fix a few warnings. · 8392079c
    thakis@chromium.org authored
    __THROW is not some magical thing, don't pretend it is. Don't add it to
    extern "C" functions. Replace it with "throw ()" on the functions where it's
    correct since it was defined to nothing on windows (the only place where this
    file is used).
    
    Fix an inconsequential enum constant mix-up in media (both enum constants
    evaluated to the same value, and the enums had the same size, so it shouldn't
    make a difference in practice, but the old code was comparing enum variables
    with enum constants from a different enum).
    
    BUG=82385
    TBR=dalecurtis
    
    Review URL: https://codereview.chromium.org/419323002
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285838 0039d316-1c4b-4281-b951-d872f2087c98
    8392079c
allocator_shim.cc 10.9 KB