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

Unified Diff: chrome/browser/renderer_host/backing_store_x.cc

Issue 199105: Continue with the FreeBSD port - this version builds and links, though... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 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
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);
« no previous file with comments | « chrome/browser/renderer_host/backing_store.h ('k') | chrome/browser/renderer_host/browser_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698