NEW 80619
Generated cpp binding code is incorrect for static functions
https://bugs.webkit.org/show_bug.cgi?id=80619
Summary Generated cpp binding code is incorrect for static functions
Jon Lee
Reported 2012-03-08 11:38:36 PST
In TestObj.idl: static void classMethod(); static long classMethodWithOptional(in [Optional] long arg); Leads to generated code: WebDOMTestObj.h: void classMethod(); int classMethodWithOptional(int arg); WebDOMTestObj.cpp: void WebDOMTestObj::classMethod() { if (!impl()) return; impl()->classMethod(); } int WebDOMTestObj::classMethodWithOptional(int arg) { if (!impl()) return 0; return impl()->classMethodWithOptional(arg); }
Attachments
Note You need to log in before you can comment on or make changes to this bug.