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

Unified Diff: content/browser/renderer_host/pepper_message_filter.cc

Issue 8344001: OpenBSD patches for chrome/content, split from CR #8275005 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 2 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/browser/renderer_host/pepper_message_filter.cc
diff --git a/content/browser/renderer_host/pepper_message_filter.cc b/content/browser/renderer_host/pepper_message_filter.cc
index 103af331d2994485889f4f7604bc7cd849f800c1..39799187f91d6b5bac1dea287a3e25ac88eb4249 100644
--- a/content/browser/renderer_host/pepper_message_filter.cc
+++ b/content/browser/renderer_host/pepper_message_filter.cc
@@ -130,10 +130,12 @@ bool NetAddressToAddressList(const PP_Flash_NetAddress& net_addr,
} // namespace
+#if !defined(OS_OPENBSD)
// Make sure the storage in |PP_Flash_NetAddress| is big enough. (Do it here
// since the data is opaque elsewhere.)
COMPILE_ASSERT(sizeof(reinterpret_cast<PP_Flash_NetAddress*>(0)->data) >=
sizeof(sockaddr_storage), PP_Flash_NetAddress_data_too_small);
+#endif
const PP_Flash_NetAddress kInvalidNetAddress = { 0 };

Powered by Google App Engine
This is Rietveld 408576698