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

Unified Diff: content/renderer/pepper/content_renderer_pepper_host_factory.cc

Issue 14692004: Only build PepperVideoSource/DestinationHost when the webrtc is enabled. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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 | « content/content_renderer.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/content_renderer_pepper_host_factory.cc
===================================================================
--- content/renderer/pepper/content_renderer_pepper_host_factory.cc (revision 198749)
+++ content/renderer/pepper/content_renderer_pepper_host_factory.cc (working copy)
@@ -115,6 +115,7 @@
}
}
+#if defined(ENABLE_WEBRTC)
// Private interfaces.
if (GetPermissions().HasPermission(ppapi::PERMISSION_PRIVATE)) {
switch (message.type()) {
@@ -126,6 +127,7 @@
host_, instance, params.pp_resource()));
}
}
+#endif
bbudge 2013/05/07 18:00:55 It would be better if the #if only affected the we
Ronghua Wu (Left Chromium) 2013/05/07 18:03:48 What about make that change when we actually have
return scoped_ptr<ResourceHost>();
}
« no previous file with comments | « content/content_renderer.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698