Bug 175780

Summary: [GTK][WPE][GSTREAMER_GL] Overriden virtual function not marked “override” in MediaPlayerPrivateGStreamerBase.h
Product: WebKit Reporter: Adrian Perez <aperez>
Component: WebKit Misc.Assignee: Adrian Perez <aperez>
Status: RESOLVED FIXED    
Severity: Normal CC: annulen, calvaris, cgarcia, thorton, webkit-bug-importer, zan
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch annulen: review+

Description Adrian Perez 2017-08-21 12:27:24 PDT
The following warning is generated when building with Clang:

  In file included from ../../Source/WebCore/platform/graphics/MediaPlayer.cpp:55:
  In file included from ../../Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:30:
  ../../Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h:152:45: warning: 'proxy' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
      RefPtr<TextureMapperPlatformLayerProxy> proxy() const;
                                              ^
  ../../Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxyProvider.h:36:53: note: overridden virtual function is here
      virtual RefPtr<TextureMapperPlatformLayerProxy> proxy() const = 0;
                                                      ^
Comment 1 Adrian Perez 2017-08-21 12:29:05 PDT
Created attachment 318660 [details]
Patch
Comment 2 Konstantin Tokarev 2017-08-21 12:40:44 PDT
Comment on attachment 318660 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=318660&action=review

> Source/WebCore/ChangeLog:3
> +        [GTK][WPE][GSTREAMER_GL] [GTK][WPE] Overriden virtual function not marked âoverrideâ in MediaPlayerPrivateGStreamerBase.h

ETOOMANYTAGS
Comment 3 Adrian Perez 2017-08-21 13:04:29 PDT
(In reply to Konstantin Tokarev from comment #2)
> Comment on attachment 318660 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=318660&action=review
> 
> > Source/WebCore/ChangeLog:3
> > +        [GTK][WPE][GSTREAMER_GL] [GTK][WPE] Overriden virtual function not marked âoverrideâ in MediaPlayerPrivateGStreamerBase.h
> 
> ETOOMANYTAGS

Ouch, I'll remove the extra tags before landing. Thanks!
Comment 4 Adrian Perez 2017-08-21 13:17:00 PDT
Committed r220978: <http://trac.webkit.org/changeset/220978>
Comment 5 Radar WebKit Bug Importer 2017-08-21 13:17:44 PDT
<rdar://problem/33997746>