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

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

Issue 10878074: Adds if !defined(OS_IOS) around body of CreateTestRenderViewHosts. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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 | « 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/test_content_client_initializer.cc
diff --git a/content/public/test/test_content_client_initializer.cc b/content/public/test/test_content_client_initializer.cc
index 59a54fe7af6412585723d2a1650a6b40371375e3..39fb4a02c98849692f7173354b8916f934146e56 100644
--- a/content/public/test/test_content_client_initializer.cc
+++ b/content/public/test/test_content_client_initializer.cc
@@ -37,9 +37,11 @@ TestContentClientInitializer::~TestContentClientInitializer() {
}
void TestContentClientInitializer::CreateTestRenderViewHosts() {
+#if !defined(OS_IOS)
rph_factory_.reset(new content::MockRenderProcessHostFactory());
test_render_view_host_factory_.reset(
new content::TestRenderViewHostFactory(rph_factory_.get()));
+#endif // OS_IOS
}
} // namespace content
« 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