Fix CFI bad cast errors involving OfflinePageModelImpl.
Make the class StubOfflinePageModel derive from OfflinePageModelImpl. This fixes several test failures where code in offline_page_model_factory.cc expects to be able to cast these objects to type OfflinePageModelImpl. Bug: 469376 Change-Id: I67b2d84cd2e2c549ceaa2bc8708bff478af30bd0 Reviewed-on: https://chromium-review.googlesource.com/812493 Commit-Queue: Peter Collingbourne <pcc@chromium.org> Reviewed-by:Cathy Li <chili@chromium.org> Cr-Commit-Position: refs/heads/master@{#522288}
Showing
Please register or sign in to comment