| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008, 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008, 2009 Google Inc. 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 20 matching lines...) Expand all Loading... |
| 31 #include "config.h" | 31 #include "config.h" |
| 32 #include "V8HTMLDocument.h" | 32 #include "V8HTMLDocument.h" |
| 33 | 33 |
| 34 #include "BindingState.h" | 34 #include "BindingState.h" |
| 35 #include "Frame.h" | 35 #include "Frame.h" |
| 36 #include "HTMLAllCollection.h" | 36 #include "HTMLAllCollection.h" |
| 37 #include "HTMLDocument.h" | 37 #include "HTMLDocument.h" |
| 38 #include "HTMLCollection.h" | 38 #include "HTMLCollection.h" |
| 39 #include "HTMLIFrameElement.h" | 39 #include "HTMLIFrameElement.h" |
| 40 #include "HTMLNames.h" | 40 #include "HTMLNames.h" |
| 41 #include "ScriptController.h" |
| 41 #include "V8Binding.h" | 42 #include "V8Binding.h" |
| 42 #include "V8DOMWindow.h" | 43 #include "V8DOMWindow.h" |
| 43 #include "V8DOMWindowShell.h" | 44 #include "V8DOMWindowShell.h" |
| 44 #include "V8HTMLAllCollection.h" | 45 #include "V8HTMLAllCollection.h" |
| 45 #include "V8HTMLCollection.h" | 46 #include "V8HTMLCollection.h" |
| 46 #include "V8Node.h" | 47 #include "V8Node.h" |
| 47 #include "V8RecursionScope.h" | 48 #include "V8RecursionScope.h" |
| 48 #include <wtf/text/StringBuilder.h> | 49 #include <wtf/text/StringBuilder.h> |
| 49 #include <wtf/OwnArrayPtr.h> | 50 #include <wtf/OwnArrayPtr.h> |
| 50 #include <wtf/RefPtr.h> | 51 #include <wtf/RefPtr.h> |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 if (wrapper.IsEmpty()) | 150 if (wrapper.IsEmpty()) |
| 150 return wrapper; | 151 return wrapper; |
| 151 if (!isolatedWorldForEnteredContext()) { | 152 if (!isolatedWorldForEnteredContext()) { |
| 152 if (Frame* frame = impl->frame()) | 153 if (Frame* frame = impl->frame()) |
| 153 frame->script()->windowShell(mainThreadNormalWorld())->updateDocumen
tWrapper(wrapper); | 154 frame->script()->windowShell(mainThreadNormalWorld())->updateDocumen
tWrapper(wrapper); |
| 154 } | 155 } |
| 155 return wrapper; | 156 return wrapper; |
| 156 } | 157 } |
| 157 | 158 |
| 158 } // namespace WebCore | 159 } // namespace WebCore |
| OLD | NEW |