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

Unified Diff: content/test/test_web_contents.cc

Issue 504273002: Remove implicit conversions from scoped_refptr to T* in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « content/public/test/mock_blob_url_request_context.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_web_contents.cc
diff --git a/content/test/test_web_contents.cc b/content/test/test_web_contents.cc
index 9824a0c49a389974fe3531bd283113d552e30c73..a8ffafb733244aa8db18d0434546a683a89b178c 100644
--- a/content/test/test_web_contents.cc
+++ b/content/test/test_web_contents.cc
@@ -205,7 +205,8 @@ void TestWebContents::SetHistoryLengthAndPrune(
int32 min_page_id) {
EXPECT_TRUE(expect_set_history_length_and_prune_);
expect_set_history_length_and_prune_ = false;
- EXPECT_EQ(expect_set_history_length_and_prune_site_instance_, site_instance);
+ EXPECT_EQ(expect_set_history_length_and_prune_site_instance_.get(),
+ site_instance);
EXPECT_EQ(expect_set_history_length_and_prune_history_length_,
history_length);
EXPECT_EQ(expect_set_history_length_and_prune_min_page_id_, min_page_id);
« no previous file with comments | « content/public/test/mock_blob_url_request_context.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698