Index: chrome/browser/android/tab_android.cc |
diff --git a/chrome/browser/android/tab_android.cc b/chrome/browser/android/tab_android.cc |
index f6b89ca7ac0df04a3eb88108497f22fdf072bc2c..ffaaf6ae21f5adf2601c570c1327c19fdc237a2e 100644 |
--- a/chrome/browser/android/tab_android.cc |
+++ b/chrome/browser/android/tab_android.cc |
@@ -783,12 +783,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 = |