summaryrefslogtreecommitdiffstats
path: root/WebCore/history/android/AndroidWebHistoryBridge.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/history/android/AndroidWebHistoryBridge.h')
-rw-r--r--WebCore/history/android/AndroidWebHistoryBridge.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/WebCore/history/android/AndroidWebHistoryBridge.h b/WebCore/history/android/AndroidWebHistoryBridge.h
index b320c4a..a827b4a 100644
--- a/WebCore/history/android/AndroidWebHistoryBridge.h
+++ b/WebCore/history/android/AndroidWebHistoryBridge.h
@@ -42,17 +42,17 @@ public:
virtual ~AndroidWebHistoryBridge() { }
virtual void updateHistoryItem(HistoryItem* item) = 0;
- void setScale(int s) { m_scale = s; }
- void setTextWrapScale(int s) { m_textWrapScale = s; }
- int scale() const { return m_scale; }
- int textWrapScale() const { return m_textWrapScale; }
+ void setScale(float s) { m_scale = s; }
+ void setTextWrapScale(float s) { m_textWrapScale = s; }
+ float scale() const { return m_scale; }
+ float textWrapScale() const { return m_textWrapScale; }
void detachHistoryItem() { m_historyItem = 0; }
HistoryItem* historyItem() const { return m_historyItem; }
void setActive() { m_active = true; }
protected:
- int m_scale;
- int m_textWrapScale;
+ float m_scale;
+ float m_textWrapScale;
bool m_active;
HistoryItem* m_historyItem;
};