Call SkGraphics::Init for in-process renderer init
commit1d9e341d0acaf4bdd6c8ccc8ffe1328578aab62d
authorboliu <boliu@chromium.org>
Wed, 9 Sep 2015 19:20:23 +0000 (9 12:20 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 9 Sep 2015 19:21:04 +0000 (9 19:21 +0000)
tree58f31364d086882565648b2c862b1792a1f93122
parent8728b9cf25e53ae8a42b70b0ba08fe9e27588a9a
Call SkGraphics::Init for in-process renderer init

Move the call from RendererMain to RenderProcessImpl constructor so it
is called for both in-process and multi-process. This is important for
Android WebView to initialize skia correctly.

BUG=525844

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

Cr-Commit-Position: refs/heads/master@{#347974}
content/renderer/render_process_impl.cc
content/renderer/renderer_main.cc