Index: ash/display/root_window_transformers.cc |
diff --git a/ash/display/root_window_transformers.cc b/ash/display/root_window_transformers.cc |
index a33bb711450466e63144570ef3bf60e8c1ecf7fb..efb11f35322021db42f7f6e68b3f2670507e823a 100644 |
--- a/ash/display/root_window_transformers.cc |
+++ b/ash/display/root_window_transformers.cc |
@@ -29,8 +29,10 @@ namespace ash { |
namespace internal { |
namespace { |
+#if defined(OS_WIN) |
DEFINE_WINDOW_PROPERTY_KEY(gfx::Display::Rotation, kRotationPropertyKey, |
gfx::Display::ROTATE_0); |
+#endif |
// Round near zero value to zero. |
void RoundNearZero(gfx::Transform* transform) { |