This patch allows WebViewRendererState to be accessible from both the UI and IO threa...
commit8a82ffe430ab18b94e672ed5a47a32986af991e1
authorpaulmeyer <paulmeyer@chromium.org>
Thu, 27 Aug 2015 17:48:01 +0000 (27 10:48 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 27 Aug 2015 17:48:28 +0000 (27 17:48 +0000)
treef00c91b9c9140dbb7665ba8a2b1bafdcff61e222
parent2b115ce34e711077c0e9fb6609f14799ab62c9cd
This patch allows WebViewRendererState to be accessible from both the UI and IO threads. This access is mediated by locks for the two internal maps in the class.

This patch is tested by a sebsequent patch that depends on it: https://codereview.chromium.org/1312653003/

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

Cr-Commit-Position: refs/heads/master@{#345917}
extensions/browser/guest_view/web_view/web_view_renderer_state.cc
extensions/browser/guest_view/web_view/web_view_renderer_state.h