Initialize ICU early in npchrome_frame.dll's lifetime.

This fixes a crash when navigating to an URL containing an
internationalized domain name.

BUG=324855
R=robertshield@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238226 0039d316-1c4b-4281-b951-d872f2087c98
cc: Fix the TextureLayerNoExtraCommitForMailboxTest test.

The test puts a mailbox into the compositor tree and then makes sure
only one commit is scheduled.

Right now the test does this by just doing EndTest() and verifying
that a 2nd commit doesn't happen before the test exits. This causes
a crash though when the mailbox is destroyed before being cleaned
up properly, and then the release callback runs on a bad test
pointer.

Instead, we can have the test make use of CommitPendingForTesting()
to verify another commit was not scheduled, then have it remove the
mailbox from the tree as other tests do.

R=enne
BUG=317854

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238227 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 238227
Cache JNI call results in SysUtils on native side.

BUG=323727

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238228 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 238228