Index: chrome/browser/android/tab_android.cc |
diff --git a/chrome/browser/android/tab_android.cc b/chrome/browser/android/tab_android.cc |
index 63cbe9f53e5679bef3c7a9846e7ef3c0b89e8e5a..9cb337eb8b2eee3af3e8e0b601aa066cfd60e1bd 100644 |
--- a/chrome/browser/android/tab_android.cc |
+++ b/chrome/browser/android/tab_android.cc |
@@ -761,12 +761,6 @@ jlong TabAndroid::GetBookmarkId(JNIEnv* env, |
web_contents()->GetURL()); |
Profile* profile = GetProfile(); |
- // If the url points to an offline page, then we need to get its original URL. |
- if (offline_pages::OfflinePageUtils::IsOfflinePage(profile, url)) { |
- url = offline_pages::OfflinePageUtils::MaybeGetOnlineURLForOfflineURL( |
- profile, url); |
- } |
- |
// Get all the nodes for |url| and sort them by date added. |
std::vector<const bookmarks::BookmarkNode*> nodes; |
bookmarks::ManagedBookmarkService* managed = |