Chromium Code Reviews

Unified Diff: chrome/browser/printing/print_preview_tab_controller_unittest.cc

Issue 4694008: Make pink's TabContentsWrapper change compile on Windows.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/printing/print_preview_tab_controller_unittest.cc
===================================================================
--- chrome/browser/printing/print_preview_tab_controller_unittest.cc (revision 66453)
+++ chrome/browser/printing/print_preview_tab_controller_unittest.cc (working copy)
@@ -95,8 +95,8 @@
TabStripModel* model = browser()->tabstrip_model();
ASSERT_TRUE(model);
- int preview_tab_1_index = model->GetIndexOfTabContents(preview_tab_1);
- int preview_tab_2_index = model->GetIndexOfTabContents(preview_tab_2);
+ int preview_tab_1_index = model->GetWrapperIndex(preview_tab_1);
+ int preview_tab_2_index = model->GetWrapperIndex(preview_tab_2);
EXPECT_NE(-1, preview_tab_1_index);
EXPECT_NE(-1, preview_tab_2_index);

Powered by Google App Engine