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

Unified Diff: chrome/test/live_sync/live_sessions_sync_test.h

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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/live_sync/live_sessions_sync_test.h
===================================================================
--- chrome/test/live_sync/live_sessions_sync_test.h (revision 66453)
+++ chrome/test/live_sync/live_sessions_sync_test.h (working copy)
@@ -20,6 +20,7 @@
#include "chrome/browser/sessions/base_session_service.h"
#include "chrome/browser/sessions/session_service_test_helper.h"
#include "chrome/browser/tab_contents/tab_contents.h"
+#include "chrome/browser/tab_contents_wrapper.h"
#include "chrome/test/live_sync/live_sync_test.h"
#include "chrome/test/ui_test_utils.h"
#include "googleurl/src/gurl.h"
@@ -194,7 +195,7 @@
// to ensure the tab opened successsfully.
TabContents* OpenTab(int index, GURL url) WARN_UNUSED_RESULT {
TabContents* tab = GetBrowser(index)->
- AddSelectedTabWithURL(url, PageTransition::START_PAGE);
+ AddSelectedTabWithURL(url, PageTransition::START_PAGE)->tab_contents();
// Wait for the page to finish loading.
ui_test_utils::WaitForNavigation(

Powered by Google App Engine
This is Rietveld 408576698