diff options
author | Grace Kloba <klobag@google.com> | 2009-12-07 14:27:17 -0800 |
---|---|---|
committer | Grace Kloba <klobag@google.com> | 2009-12-07 14:27:17 -0800 |
commit | 0b9d36d96db8c9f0462409ac20b6c25a31dcb4bb (patch) | |
tree | f88baf77ee003399aa169158d089c63249349bbf /WebCore/history | |
parent | 2eddb240f196ef15ba9940c3e291bbb6318f1200 (diff) | |
download | external_webkit-0b9d36d96db8c9f0462409ac20b6c25a31dcb4bb.zip external_webkit-0b9d36d96db8c9f0462409ac20b6c25a31dcb4bb.tar.gz external_webkit-0b9d36d96db8c9f0462409ac20b6c25a31dcb4bb.tar.bz2 |
Modify AndroidWebHistoryBridge to prepare uploading
detachHistoryItem() to WebKit.
I think it is easy to read this way that the constructor
sets the m_historyItem and the new method will detach it.
Diffstat (limited to 'WebCore/history')
-rw-r--r-- | WebCore/history/android/AndroidWebHistoryBridge.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/history/android/AndroidWebHistoryBridge.h b/WebCore/history/android/AndroidWebHistoryBridge.h index b15cc86..b401933 100644 --- a/WebCore/history/android/AndroidWebHistoryBridge.h +++ b/WebCore/history/android/AndroidWebHistoryBridge.h @@ -34,11 +34,11 @@ class HistoryItem; class AndroidWebHistoryBridge : public RefCounted<AndroidWebHistoryBridge> { public: - AndroidWebHistoryBridge() + AndroidWebHistoryBridge(HistoryItem* item) : m_scale(100) , m_screenWidthScale(100) , m_active(false) - , m_historyItem(0) { } + , m_historyItem(item) { } virtual ~AndroidWebHistoryBridge() { } virtual void updateHistoryItem(HistoryItem* item) = 0; |