Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(622)

Unified Diff: chrome/browser/sync/test/integration/sessions_helper.cc

Issue 8772041: Remove deprecated TabContentsDelegate::OpenURLFromTab variant (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/test/integration/sessions_helper.cc
diff --git a/chrome/browser/sync/test/integration/sessions_helper.cc b/chrome/browser/sync/test/integration/sessions_helper.cc
index e05c6f5daa3d92e18631dfbb5f19419e721248b6..374a08e067d8003625d163923ba82e9404a1a228 100644
--- a/chrome/browser/sync/test/integration/sessions_helper.cc
+++ b/chrome/browser/sync/test/integration/sessions_helper.cc
@@ -237,9 +237,9 @@ bool NavigationEquals(const TabNavigation& expected,
<< ", actual " << actual.virtual_url();
return false;
}
- if (expected.referrer() != actual.referrer()) {
- LOG(ERROR) << "Expected referrer " << expected.referrer()
- << ", actual " << actual.referrer();
+ if (expected.referrer().url != actual.referrer().url) {
+ LOG(ERROR) << "Expected referrer " << expected.referrer().url
+ << ", actual " << actual.referrer().url;
return false;
}
if (expected.title() != actual.title()) {

Powered by Google App Engine
This is Rietveld 408576698