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

Unified Diff: chrome/browser/ui/tab_contents/test_tab_contents_wrapper.cc

Issue 6993030: Move GeolocationPermissionContextUnittest from subclassing TabContentsWrapper to merely observing... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 7 months 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/ui/tab_contents/test_tab_contents_wrapper.cc
===================================================================
--- chrome/browser/ui/tab_contents/test_tab_contents_wrapper.cc (revision 87725)
+++ chrome/browser/ui/tab_contents/test_tab_contents_wrapper.cc (working copy)
@@ -16,7 +16,7 @@
}
TestTabContents* TabContentsWrapperTestHarness::contents() {
- return static_cast<TestTabContents*>(contents_wrapper_.get()->tab_contents());
+ return static_cast<TestTabContents*>(contents_wrapper_->tab_contents());
}
TabContentsWrapper* TabContentsWrapperTestHarness::contents_wrapper() {
@@ -27,11 +27,6 @@
contents_wrapper_.reset(new TabContentsWrapper(contents));
}
-void TabContentsWrapperTestHarness::SetContentsWrapper(
- TabContentsWrapper* contents) {
- contents_wrapper_.reset(contents);
-}
-
void TabContentsWrapperTestHarness::SetUp() {
SetContents(CreateTestTabContents());
}

Powered by Google App Engine
This is Rietveld 408576698