commit | 949389023990f7e849003ef31787e5fac729cd92 | [log] [tgz] |
---|---|---|
author | Ryan Sturm <[email protected]> | Sat Dec 09 23:53:53 2017 |
committer | Commit Bot <[email protected]> | Sat Dec 09 23:53:53 2017 |
tree | de880bf181e256232fdd7e196fa4b33470a18f29 | |
parent | 23ff121067b132960d1935143217f92e2a82faa6 [diff] [blame] |
Adding data savings for Offline Previews Bug: 615565 Change-Id: I6dc6e12d59ef94d50e05c772527d88e145de885b Reviewed-on: https://chromium-review.googlesource.com/792111 Commit-Queue: Ryan Sturm <[email protected]> Reviewed-by: Jian Li <[email protected]> Reviewed-by: Tarun Bansal <[email protected]> Cr-Commit-Position: refs/heads/master@{#523015}
diff --git a/chrome/browser/offline_pages/offline_page_utils.cc b/chrome/browser/offline_pages/offline_page_utils.cc index 1b0c631..d06a896 100644 --- a/chrome/browser/offline_pages/offline_page_utils.cc +++ b/chrome/browser/offline_pages/offline_page_utils.cc
@@ -203,7 +203,7 @@ content::WebContents* web_contents) { OfflinePageTabHelper* tab_helper = OfflinePageTabHelper::FromWebContents(web_contents); - return tab_helper && tab_helper->IsShowingOfflinePreview(); + return tab_helper && tab_helper->GetOfflinePreviewItem(); } // static