Index: Source/core/frame/Frame.h |
diff --git a/Source/core/frame/Frame.h b/Source/core/frame/Frame.h |
index f999319d9fce44b7a779d77ab98938cda3aa97d3..5b05e77b5c402fb59b1004dc25e8e059629dd022 100644 |
--- a/Source/core/frame/Frame.h |
+++ b/Source/core/frame/Frame.h |
@@ -196,13 +196,11 @@ namespace WebCore { |
void deviceOrPageScaleFactorChanged(); |
double devicePixelRatio() const; |
-#if ENABLE(ORIENTATION_EVENTS) |
// Orientation is the interface orientation in degrees. Some examples are: |
// 0 is straight up; -90 is when the device is rotated 90 clockwise; |
// 90 is when rotated counter clockwise. |
void sendOrientationChangeEvent(int orientation); |
int orientation() const { return m_orientation; } |
-#endif |
String documentTypeString() const; |
@@ -249,9 +247,7 @@ namespace WebCore { |
float m_pageZoomFactor; |
float m_textZoomFactor; |
-#if ENABLE(ORIENTATION_EVENTS) |
int m_orientation; |
-#endif |
bool m_inViewSourceMode; |