summaryrefslogtreecommitdiffstats
path: root/chrome/common/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/gfx')
-rw-r--r--chrome/common/gfx/chrome_canvas.h2
-rw-r--r--chrome/common/gfx/path.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/gfx/chrome_canvas.h b/chrome/common/gfx/chrome_canvas.h
index cfb0c28..dbf9466 100644
--- a/chrome/common/gfx/chrome_canvas.h
+++ b/chrome/common/gfx/chrome_canvas.h
@@ -195,7 +195,7 @@ class ChromeCanvas : public skia::PlatformCanvas {
DISALLOW_EVIL_CONSTRUCTORS(ChromeCanvas);
};
-#if defined(OS_WIN) || defined(TOOLKIT_GTK)
+#if defined(OS_WIN) || defined(OS_LINUX)
typedef skia::CanvasPaintT<ChromeCanvas> ChromeCanvasPaint;
#endif
diff --git a/chrome/common/gfx/path.h b/chrome/common/gfx/path.h
index 7d6d3a0..ac7537c 100644
--- a/chrome/common/gfx/path.h
+++ b/chrome/common/gfx/path.h
@@ -25,7 +25,7 @@ class Path : public SkPath {
// Creates a HRGN from the path. The caller is responsible for freeing
// resources used by this region. This only supports polygon paths.
HRGN CreateHRGN() const;
-#elif defined(TOOLKIT_GTK)
+#elif defined(OS_LINUX)
// Creates a Gdkregion from the path. The caller is responsible for freeing
// resources used by this region. This only supports polygon paths.
GdkRegion* CreateGdkRegion() const;