Right now, PDF views can only be in the main frame, but that's not forever so. The method needs a frame argument for future compatibility.
Created attachment 79194 [details] proposed patch
Committed <http://trac.webkit.org/changeset/75959>.