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

Unified Diff: chrome/browser/renderer_preferences_util.cc

Issue 2351553002: Fix "defined but not used" build error when enable_webrtc=false. (Closed)
Patch Set: Created 4 years, 3 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: chrome/browser/renderer_preferences_util.cc
diff --git a/chrome/browser/renderer_preferences_util.cc b/chrome/browser/renderer_preferences_util.cc
index ad5e3017221badabb2f640eebbfa41df4326b7db..aa4f1c212d2f7e9270239b3d553ad439e1af4a1d 100644
--- a/chrome/browser/renderer_preferences_util.cc
+++ b/chrome/browser/renderer_preferences_util.cc
@@ -36,6 +36,7 @@
#include "ui/views/linux_ui/linux_ui.h"
#endif
+#if defined(ENABLE_WEBRTC)
namespace {
// Parses a string |range| with a port range in the form "<min>-<max>".
@@ -75,6 +76,7 @@ void ParsePortRange(const std::string& range,
}
} // namespace
+#endif
namespace renderer_preferences_util {
« 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