smarthaert / delphichromiumembedded

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

bug in TCustomChromium.doOnContentsSizeChange #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The error is obvious: 

if Assigned(FOnConsoleMessage) then
    FOnContentsSizeChange(Self, browser, frame, width, height);

Original issue reported on code.google.com by edwin....@innovationgear.com on 9 Jan 2012 at 7:36

GoogleCodeExporter commented 9 years ago
and the bug is .......

Original comment by hgourv...@gmail.com on 9 Jan 2012 at 8:25

GoogleCodeExporter commented 9 years ago
Hi,

If one defined an OnConsoleMessage event handler but no handler for the 
OnContentsSizeChange event then an 'Access violation' error will happen, 
because FOnContentsSizeChange is nil in that case. 

Original comment by edwin....@innovationgear.com on 9 Jan 2012 at 3:26

GoogleCodeExporter commented 9 years ago
ok, thank you

Original comment by hgourv...@gmail.com on 9 Jan 2012 at 4:37

GoogleCodeExporter commented 9 years ago

Original comment by hgourv...@gmail.com on 7 Feb 2012 at 10:10