Use reference of Frame rather than pointer in InputMethodController

This patch changes InputMethodController class to use reference of Frame as member variable |m_frame| instead of pointer to Frame to improve readability and ease of maintenance; no more null check.

This patch is similar to https://codereview.chromium.org/26674003/ for SpellChecker.

BUG=n/a
TEST=n/a; no behavior changes
R=tkent@chromium.org

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

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