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

Unified Diff: base/gfx/blit.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
« no previous file with comments | « base/file_version_info.h ('k') | base/gfx/rect.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/gfx/blit.cc
===================================================================
--- base/gfx/blit.cc (revision 25977)
+++ base/gfx/blit.cc (working copy)
@@ -4,7 +4,7 @@
#include "base/gfx/blit.h"
-#if defined(OS_LINUX)
+#if defined(USE_X11)
#include <cairo/cairo.h>
#endif
@@ -45,7 +45,7 @@
scoped_cftyperef<CGImageRef> src_sub_image(
CGImageCreateWithImageInRect(src_image, src_rect.ToCGRect()));
CGContextDrawImage(dst_context, dst_rect.ToCGRect(), src_sub_image);
-#elif defined(OS_LINUX)
+#elif defined(USE_X11)
// Only translations in the source context are supported; more complex
// source context transforms will be ignored.
cairo_save(dst_context);
@@ -69,7 +69,7 @@
return device.getBitmapDC();
#elif defined(OS_MACOSX)
return device.GetBitmapContext();
-#elif defined(OS_LINUX)
+#elif defined(USE_X11)
return device.beginPlatformPaint();
#endif
}
Property changes on: base/gfx/blit.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « base/file_version_info.h ('k') | base/gfx/rect.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698