diff options
Diffstat (limited to 'WebKit/android')
| -rw-r--r-- | WebKit/android/jni/WebHistory.cpp | 9 | ||||
| -rw-r--r-- | WebKit/android/jni/WebHistory.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/WebKit/android/jni/WebHistory.cpp b/WebKit/android/jni/WebHistory.cpp index 86eeffe..3741e03 100644 --- a/WebKit/android/jni/WebHistory.cpp +++ b/WebKit/android/jni/WebHistory.cpp @@ -242,15 +242,6 @@ WebHistoryItem::~WebHistoryItem() { } } -void WebHistoryItem::detach(WebCore::HistoryItem* item) { -/* if (mHistoryItem == item) { - mHistoryItem = NULL; - } else if (mHistoryItem) { - LOGE("WebHistoryItem::detach doesn't have a matching HistoryItem"); - } - */ -} - void WebHistoryItem::updateHistoryItem(WebCore::HistoryItem* item) { // Do not want to update during inflation. if (!m_active) diff --git a/WebKit/android/jni/WebHistory.h b/WebKit/android/jni/WebHistory.h index b756464..baba1fd 100644 --- a/WebKit/android/jni/WebHistory.h +++ b/WebKit/android/jni/WebHistory.h @@ -55,7 +55,6 @@ public: , m_object(NULL) { } WebHistoryItem(JNIEnv*, jobject, WebCore::HistoryItem*); ~WebHistoryItem(); - void detach(WebCore::HistoryItem* item); void updateHistoryItem(WebCore::HistoryItem* item); void setParent(WebHistoryItem* parent) { m_parent = parent; } WebHistoryItem* parent() const { return m_parent.get(); } |
