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

Unified Diff: base/gfx/rect.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/gfx/blit.cc ('k') | base/icu_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/gfx/rect.cc
===================================================================
--- base/gfx/rect.cc (revision 25977)
+++ base/gfx/rect.cc (working copy)
@@ -8,7 +8,7 @@
#include <windows.h>
#elif defined(OS_MACOSX)
#include <CoreGraphics/CGGeometry.h>
-#elif defined(OS_LINUX)
+#elif defined(USE_X11)
#include <gdk/gdk.h>
#endif
@@ -76,7 +76,7 @@
set_height(r.size.height);
return *this;
}
-#elif defined(OS_LINUX)
+#elif defined(USE_X11)
Rect::Rect(const GdkRectangle& r)
: origin_(r.x, r.y) {
set_width(r.width);
@@ -128,7 +128,7 @@
r.bottom = bottom();
return r;
}
-#elif defined(OS_LINUX)
+#elif defined(USE_X11)
GdkRectangle Rect::ToGdkRectangle() const {
GdkRectangle r = {x(), y(), width(), height()};
return r;
« no previous file with comments | « base/gfx/blit.cc ('k') | base/icu_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698