Update UsageCounter methods to be callable on Frames.

In the near future, Window.idl will be implemented as DOMWindow, not
LocalDOMWindow. Some of the custom Window bindings try to call
UsageCounter methods using Document as the reference, but DOMWindows
do not have a Document if they are remote.

BUG=425623

Review URL: https://codereview.chromium.org/707333003

git-svn-id: svn://svn.chromium.org/blink/trunk@185023 bbb929c8-8fbe-4397-9dbb-9b2b20218538