OLD | NEW |
1 // Copyright (c) 2008, Google Inc. | 1 // Copyright (c) 2008, Google Inc. |
2 // All rights reserved. | 2 // All rights reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // * Redistributions of source code must retain the above copyright | 8 // * Redistributions of source code must retain the above copyright |
9 // notice, this list of conditions and the following disclaimer. | 9 // notice, this list of conditions and the following disclaimer. |
10 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "Node.h" | 34 #include "Node.h" |
35 | 35 |
36 namespace WebCore { | 36 namespace WebCore { |
37 | 37 |
38 void updateDOMNodeDocument(Node* node, Document* oldDocument, | 38 void updateDOMNodeDocument(Node* node, Document* oldDocument, |
39 Document* newDocument) | 39 Document* newDocument) |
40 { | 40 { |
41 // We don't do anything here in V8 bindings | 41 // We don't do anything here in V8 bindings |
42 } | 42 } |
43 | 43 |
44 ScriptState* scriptStateFromNode(Node* node) | |
45 { | |
46 // This should be never reached with V8 bindings (WebKit only uses it | |
47 // for non-JS bindings) | |
48 ASSERT_NOT_REACHED(); | |
49 return 0; | |
50 } | |
51 | |
52 } // namespace WebCore | 44 } // namespace WebCore |
OLD | NEW |