From cb92dc762d5c35232af9f6051b04e9716247d4ae Mon Sep 17 00:00:00 2001 From: dsinclair Date: Wed, 7 Sep 2016 09:02:48 -0700 Subject: Cleanup page when unloading in embedder tests When unloading a page in the embedder tests we need to cleanup the internal page map so if we load the page a second time we don't get a previously unloaded page. Review-Url: https://codereview.chromium.org/2322523002 --- testing/embedder_test.h | 1 + 1 file changed, 1 insertion(+) (limited to 'testing/embedder_test.h') diff --git a/testing/embedder_test.h b/testing/embedder_test.h index 153ca6e5f3..dc4ca0dc08 100644 --- a/testing/embedder_test.h +++ b/testing/embedder_test.h @@ -124,6 +124,7 @@ class EmbedderTest : public ::testing::Test, size_t file_length_; std::unique_ptr file_contents_; std::map page_map_; + std::map page_reverse_map_; private: static void UnsupportedHandlerTrampoline(UNSUPPORT_INFO*, int type); -- cgit v1.2.3