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

Unified Diff: chrome/test/data/webui/certificate_viewer_ui_test-inl.h

Issue 18308004: Update CrOS to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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
« no previous file with comments | « chrome/browser/ui/webui/help/help_handler.cc ('k') | chromeos/network/onc/onc_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/certificate_viewer_ui_test-inl.h
diff --git a/chrome/test/data/webui/certificate_viewer_ui_test-inl.h b/chrome/test/data/webui/certificate_viewer_ui_test-inl.h
index 7a8fba55ca79e9fb5afefaf2a76a23790e5f37fb..c05f126a4d8306f2aea5830db40210e77c2dcd69 100644
--- a/chrome/test/data/webui/certificate_viewer_ui_test-inl.h
+++ b/chrome/test/data/webui/certificate_viewer_ui_test-inl.h
@@ -36,8 +36,8 @@ void CertificateViewerUITest::ShowCertificateViewer() {
ASSERT_TRUE(browser()->window());
ui::test::TestWebDialogObserver dialog_observer(this);
- CertificateViewerDialog* dialog = new CertificateViewerDialog(
- google_cert);
+ CertificateViewerDialog* dialog =
+ new CertificateViewerDialog(google_cert.get());
dialog->AddObserver(&dialog_observer);
dialog->Show(browser()->tab_strip_model()->GetActiveWebContents(),
browser()->window()->GetNativeWindow());
« no previous file with comments | « chrome/browser/ui/webui/help/help_handler.cc ('k') | chromeos/network/onc/onc_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698