| Index: components/offline_pages/background/request_coordinator.cc
|
| diff --git a/components/offline_pages/background/request_coordinator.cc b/components/offline_pages/background/request_coordinator.cc
|
| index 6b7753c181d47c4e5b388760d7dbf6234c36e070..7538887b81eb5c78352e8b9f41a3a19815e3bce5 100644
|
| --- a/components/offline_pages/background/request_coordinator.cc
|
| +++ b/components/offline_pages/background/request_coordinator.cc
|
| @@ -194,6 +194,10 @@ int64_t RequestCoordinator::SavePageLater(const GURL& url,
|
| RequestAvailability availability) {
|
| DVLOG(2) << "URL is " << url << " " << __func__;
|
|
|
| + // Make sure this is called on actual instance (as the factory
|
| + // may not return one for incognito profile).
|
| + CHECK(this);
|
| +
|
| if (!OfflinePageModel::CanSaveURL(url)) {
|
| DVLOG(1) << "Not able to save page for requested url: " << url;
|
| return 0L;
|
|
|