Private operations can only be called by WebKit code.
Since we control the call sites, the call sites should make sure to call the operations with the object of the right type.
Created attachment 291348 [details]
(In reply to comment #1)
> Created attachment 291348 [details]
This patch makes sense from a technical point of view.
But it requires to be careful on call sites.
I am wondering whether it will not be too easy to miss the necessary check on call sites.
Comment on attachment 291348 [details]
Clearing flags on attachment: 291348
Committed r207328: <http://trac.webkit.org/changeset/207328>
All reviewed patches have been landed. Closing bug.