diff options
author | raymes <raymes@chromium.org> | 2014-11-24 16:30:34 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-25 00:31:01 +0000 |
commit | 65f5da46154417ca0dc13bc7e9ea382651a54636 (patch) | |
tree | 8cbdf11d9b6e9bfc6bcefe0b2b4bb646738f168c /cc/surfaces/surface_aggregator.cc | |
parent | 3e234a02d7521b8f08e8b1f0c020ae988f293538 (diff) | |
download | chromium_src-65f5da46154417ca0dc13bc7e9ea382651a54636.zip chromium_src-65f5da46154417ca0dc13bc7e9ea382651a54636.tar.gz chromium_src-65f5da46154417ca0dc13bc7e9ea382651a54636.tar.bz2 |
Fix BufferedResourceHandler unittest on mac and valgrind bots
This fixes the BufferedResourceHandler unittest on mac. Currently the test
fails because it calls into the guts of the plugin service which ends up
trying to create a new process.
It also causes subsequent tests to fail on valgrind bots
because it modified the global state of PluginService.
This adds a FakePluginService and passes
the PluginService into BufferedResourceHandler on construction rather than
using the singleton class.
BUG=435441
Review URL: https://codereview.chromium.org/749773002
Cr-Commit-Position: refs/heads/master@{#305533}
Diffstat (limited to 'cc/surfaces/surface_aggregator.cc')
0 files changed, 0 insertions, 0 deletions