[V8] ScriptController::cleanupScriptObjectsForPlugin should take a Widget* instead of void* This function is supposed to be called by the plugin when it goes away. It corresponds to createScriptInstanceForWidget, which takes a Widget*. As is, it is important for callers to cast to Widget* before calling cleanupScriptObjectsForPlugin, which is rather error prone. See http://codereview.chromium.org/174126 for example.
Created attachment 35188 [details] v1 patch
Comment on attachment 35188 [details] v1 patch LGTM.
Landed as: http://trac.webkit.org/changeset/47556