Index: chrome/browser/renderer_host/backing_store_x.cc |
=================================================================== |
--- chrome/browser/renderer_host/backing_store_x.cc (revision 25977) |
+++ chrome/browser/renderer_host/backing_store_x.cc (working copy) |
@@ -57,7 +57,11 @@ |
visual_(visual), |
visual_depth_(depth), |
root_window_(x11_util::GetX11RootWindow()) { |
+#if defined(OS_FREEBSD) |
+ COMPILE_ASSERT(BYTE_ORDER == LITTLE_ENDIAN, assumes_little_endian); |
+#else |
COMPILE_ASSERT(__BYTE_ORDER == __LITTLE_ENDIAN, assumes_little_endian); |
+#endif |
pixmap_ = XCreatePixmap(display_, root_window_, |
size.width(), size.height(), depth); |