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

Unified Diff: content/public/test/render_view_test.cc

Issue 1135643002: Remove unneeded AddRef in RenderViewTest::SetUp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/render_view_test.cc
diff --git a/content/public/test/render_view_test.cc b/content/public/test/render_view_test.cc
index 1c0dc3d70e4f4e0dc97e4ebbfcb8f04543c1b4f3..794c2072dd89e172498522a17a49b58f10bdb674 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -255,7 +255,6 @@ void RenderViewTest::SetUp() {
// This needs to pass the mock render thread to the view.
RenderViewImpl* view =
RenderViewImpl::Create(view_params, compositor_deps_.get(), false);
- view->AddRef();
view_ = view;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698