Virtual Method is not being overridden

70 views
Skip to first unread message

Rahul yadav

unread,
Jan 23, 2023, 2:25:59 PM1/23/23
to blink-dev
Dear all ,

I have created a new module in blink/renderer/modules
And my class is extending CanvasRenderingContext class.

I have defined my funcitons "virtual" in CanvasRenderingContext . But in my class they are not being overridden .  
I am getting error as : 
"member function declared with 'override' does not override a base class member"

 I have checked , there is no typos .  i have overridden all the pure virtuals .

Could you please help .

Thanks a lot in advance .

Rahul

Ryan Hamilton

unread,
Jan 23, 2023, 3:43:52 PM1/23/23
to Rahul yadav, blink-dev
Sounds like there is a mistake of some sort in the code. Can you post a CL so we can look at the actual code?

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/ec96f728-075e-4036-883e-86833826609cn%40chromium.org.
Reply all
Reply to author
Forward
0 new messages