summaryrefslogtreecommitdiffstats
path: root/webkit/port/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/port/bindings')
-rw-r--r--webkit/port/bindings/v8/v8_custom.cpp12
-rw-r--r--webkit/port/bindings/v8/v8_custom.h1
2 files changed, 0 insertions, 13 deletions
diff --git a/webkit/port/bindings/v8/v8_custom.cpp b/webkit/port/bindings/v8/v8_custom.cpp
index 3986295..325ae92 100644
--- a/webkit/port/bindings/v8/v8_custom.cpp
+++ b/webkit/port/bindings/v8/v8_custom.cpp
@@ -2654,18 +2654,6 @@ CALLBACK_FUNC_DECL(HTMLDocumentOpen) {
return v8::Undefined();
}
-CALLBACK_FUNC_DECL(HTMLDocumentClear) {
- INC_STATS(L"DOM.HTMLDocument.clear()");
- // Do nothing (unimplemented)
-
- // KJS's bindings do do the same thing in JSHTMLDocument::clear().
- // Invoking HTMLDocument::clear() can cause a crash, since it
- // deletes the document's tokenizer while it may still be in use.
- // See b:1055485 for details.
- return v8::Undefined();
-}
-
-
// Document --------------------------------------------------------------------
CALLBACK_FUNC_DECL(DocumentEvaluate) {
diff --git a/webkit/port/bindings/v8/v8_custom.h b/webkit/port/bindings/v8/v8_custom.h
index 6c60e33..776f6fd 100644
--- a/webkit/port/bindings/v8/v8_custom.h
+++ b/webkit/port/bindings/v8/v8_custom.h
@@ -195,7 +195,6 @@ DECLARE_CALLBACK(HTMLOptionsCollectionAdd)
DECLARE_CALLBACK(HTMLDocumentWrite)
DECLARE_CALLBACK(HTMLDocumentWriteln)
DECLARE_CALLBACK(HTMLDocumentOpen)
-DECLARE_CALLBACK(HTMLDocumentClear)
// Document customized functions
DECLARE_CALLBACK(DocumentEvaluate)