diff options
-rw-r--r-- | webkit/port/bindings/v8/JSDOMBinding.cpp | 44 | ||||
-rw-r--r-- | webkit/port/bindings/v8/JSDOMBinding.h | 49 | ||||
-rw-r--r-- | webkit/port/bindings/v8/v8_custom.cpp | 1 | ||||
-rw-r--r-- | webkit/webkit.gyp | 2 |
4 files changed, 0 insertions, 96 deletions
diff --git a/webkit/port/bindings/v8/JSDOMBinding.cpp b/webkit/port/bindings/v8/JSDOMBinding.cpp deleted file mode 100644 index c5810ff..0000000 --- a/webkit/port/bindings/v8/JSDOMBinding.cpp +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) 2008, Google Inc. -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -#include "config.h" -#include "JSDOMBinding.h" - -#include "Document.h" -#include "Node.h" - -namespace WebCore { - -void updateDOMNodeDocument(Node* node, Document* oldDocument, - Document* newDocument) -{ - // We don't do anything here in V8 bindings -} - -} // namespace WebCore diff --git a/webkit/port/bindings/v8/JSDOMBinding.h b/webkit/port/bindings/v8/JSDOMBinding.h deleted file mode 100644 index 7c198c7..0000000 --- a/webkit/port/bindings/v8/JSDOMBinding.h +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright (c) 2008, Google Inc. -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -// Masquerade to pretend that we support JSC namespace and avoid unforking -// This is not a reimplementation of the JSC namespace. It's just enough code -// to avoid #ifdefs in WebKit code. - -#ifndef JSDOMBinding_h -#define JSDOMBinding_h - -#include "ScriptState.h" - -namespace WebCore { - class Node; - class Document; - - void updateDOMNodeDocument(Node*, Document* oldDocument, - Document* newDocument); - -} - - -#endif // JSDOMBinding_h diff --git a/webkit/port/bindings/v8/v8_custom.cpp b/webkit/port/bindings/v8/v8_custom.cpp index bed5542..857d7dc 100644 --- a/webkit/port/bindings/v8/v8_custom.cpp +++ b/webkit/port/bindings/v8/v8_custom.cpp @@ -74,7 +74,6 @@ #include "HTMLNames.h" #include "History.h" #include "JSXPathNSResolver.h" -#include "JSDOMBinding.h" #include "KURL.h" #include "Location.h" #include "MessageChannel.h" diff --git a/webkit/webkit.gyp b/webkit/webkit.gyp index 268ac45..caf136a 100644 --- a/webkit/webkit.gyp +++ b/webkit/webkit.gyp @@ -1123,8 +1123,6 @@ 'extensions/v8/profiler_extension.cc', 'extensions/v8/profiler_extension.h', 'port/bindings/v8/DOMObjectsInclude.h', - 'port/bindings/v8/JSDOMBinding.cpp', - 'port/bindings/v8/JSDOMBinding.h', 'port/bindings/v8/JSXPathNSResolver.cpp', 'port/bindings/v8/JSXPathNSResolver.h', 'port/bindings/v8/RGBColor.cpp', |