summaryrefslogtreecommitdiffstats
path: root/content/renderer/pepper/pepper_file_chooser_host_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/pepper/pepper_file_chooser_host_unittest.cc')
-rw-r--r--content/renderer/pepper/pepper_file_chooser_host_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/renderer/pepper/pepper_file_chooser_host_unittest.cc b/content/renderer/pepper/pepper_file_chooser_host_unittest.cc
index bfc88e6..0585b04 100644
--- a/content/renderer/pepper/pepper_file_chooser_host_unittest.cc
+++ b/content/renderer/pepper/pepper_file_chooser_host_unittest.cc
@@ -36,7 +36,6 @@ class PepperFileChooserHostTest : public RenderViewTest {
void SetUp() override {
SetContentClient(&client_);
RenderViewTest::SetUp();
- ppapi::ProxyLock::DisableLockingOnThreadForTest();
globals_.GetResourceTracker()->DidCreateInstance(pp_instance_);
}
@@ -51,6 +50,8 @@ class PepperFileChooserHostTest : public RenderViewTest {
private:
PP_Instance pp_instance_;
+ // Disables locking for the duration of the test.
+ ppapi::ProxyLock::LockingDisablerForTest disable_locking_;
ppapi::TestGlobals globals_;
TestContentClient client_;
};