Remove env() getter from JavaRef<>
Due to threadsafety ambiguity, it's not generally safe to call env()
on a random Ref you've been passed, so this removes the temptation.
The useful LocalRef optimizations are retained though, just in that
sub-class.
(upstreaming CL, cherrypicked cleanly)
BUG=
TEST=
Review URL: http://codereview.chromium.org/9584014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128204 0039d316-1c4b-4281-b951-d872f2087c98
CrOS-Libchrome-Original-Commit: 6b532429a47bc57fe44a6da06ddc69f4e9300829
3 files changed