Index: ui/gfx/path.h |
diff --git a/ui/gfx/path.h b/ui/gfx/path.h |
index d0b32bb3a6d9ce95c60e04fcead3dad2830c041a..c00443dc5afdcbd4cc863c39665e3269e0a79206 100644 |
--- a/ui/gfx/path.h |
+++ b/ui/gfx/path.h |
@@ -28,7 +28,7 @@ class UI_EXPORT Path : public SkPath { |
~Path(); |
-#if defined(OS_WIN) || defined(USE_X11) |
+#if defined(USE_AURA) || defined(OS_WIN) || defined(USE_X11) |
Ken Russell (switch to Gerrit)
2011/11/17 00:14:40
Should this be instead (defined(USE_AURA) && defin
dhollowa
2011/11/17 01:41:51
No, this is correct as it stands. The definitions
|
// Creates a NativeRegion from the path. The caller is responsible for freeing |
// resources used by this region. This only supports polygon paths. |
NativeRegion CreateNativeRegion() const; |