Update contents_mime_type_ of WebContents only for the main frame. RenderView does not set the value for sub frames.
As a result,  we ended up resetting to NULL by updating it for any frame.  
This CL should go in for both trunk and 0.3.154.x branch.

BUG=2929
TEST=Open http://fund.eastmoney.com in a tab, switch to another tab and then switch back. Encoding menu should be enabled 
which tab you're in. 


Review URL: http://codereview.chromium.org/8206

git-svn-id: svn://svn.chromium.org/chrome/trunk@4001 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed
tree: 18f1903b2e77bc80192b9031c79fee50df5ed486
  1. depot_tools/
  2. deps/
  3. src/
  4. tools/