canvas's impl of this function is the same as nsFrame's: http://lxr.mozilla.org/seamonkey/source/layout/generic/nsHTMLCanvasFrame.cpp#201 http://lxr.mozilla.org/seamonkey/source/layout/generic/nsFrame.cpp#962
13 years ago
There's a small difference, http://mxr.mozilla.org/seamonkey/source/layout/generic/nsHTMLCanvasFrame.cpp#260 does an argument check. Is there a reason for this? Or can we just merge them?
You're looking at the seamonkey tree, I'm not sure exactly what that is but in mozilla-central nsHTMLCanvasFrame doesn't override GetContentForEvent. So this is fixed.