• thakis@chromium.org's avatar
    media/win: Make TypeEnumerator FINAL. · 586cfb15
    thakis@chromium.org authored
    Fixes this warning:
    
    In file included from ..\..\media/video/capture/win/pin_base_win.h:15:
    ..\..\base/memory/ref_counted.h(131,7) :  warning(clang): delete called on 'const media::TypeEnumerator' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
          delete static_cast<const T*>(this);
          ^
    ..\..\media\video\capture\win\pin_base_win.cc(40,39) :  note(clang): in instantiation of member function 'base::RefCounted<media::TypeEnumerator>::Release' requested here
        base::RefCounted<TypeEnumerator>::Release();
                                          ^
    1 warning generated.
    
    BUG=82385
    NOTRY=true
    
    Review URL: https://codereview.chromium.org/410833002
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284982 0039d316-1c4b-4281-b951-d872f2087c98
    586cfb15
pin_base_win.cc 6.71 KB