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

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

Issue 2696263002: Refactor ViewsDelegate and MD-ify the icon-to-text spacing for checkbox and radiobutton (Closed)
Patch Set: Prefer embedded initialization over heap allocation for TestViewsDelegate Created 3 years, 10 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: content/public/test/test_renderer_host.cc
diff --git a/content/public/test/test_renderer_host.cc b/content/public/test/test_renderer_host.cc
index 91354a1caec4d702618cc932f8a2b3fa171aea28..47b934b4a25c2d93f11bd2a858ef66082e5f4226 100644
--- a/content/public/test/test_renderer_host.cc
+++ b/content/public/test/test_renderer_host.cc
@@ -265,7 +265,7 @@ void RenderViewHostTestHarness::SetUp() {
ui::MaterialDesignController::Initialize();
thread_bundle_.reset(new TestBrowserThreadBundle(thread_bundle_options_));
- rvh_test_enabler_.reset(new RenderViewHostTestEnabler);
+ rvh_test_enabler_.reset(new RenderViewHostTestEnabler());
sky 2017/02/28 20:11:52 Revert this change?
Peter Kasting 2017/03/01 06:32:36 Didn't chromium-dev have a long thread about this
sky 2017/03/01 17:07:16 I don't remember that, but it's certainly possible
kylix_rd 2017/03/01 17:33:27 That is likely correct because IIRC, this was chan
Peter Kasting 2017/03/01 23:32:23 From memory, () zero-inits certain objects and no-
if (factory_)
rvh_test_enabler_->rvh_factory_->set_render_process_host_factory(factory_);

Powered by Google App Engine
This is Rietveld 408576698