hoangduit / pdfium

Automatically exported from code.google.com/p/pdfium
0 stars 0 forks source link

CPDF_Objects should use virtual methods #63

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Stop doing switch(obj->type) { case blah: ((cast)obj)->someting() } and use 
virtual methods. (Though the present lack of objects with vtables may be 
frustrating to adversaries).  

Original issue reported on code.google.com by tsepez@chromium.org on 28 Oct 2014 at 7:56