| Index: third_party/WebKit/Source/core/frame/DOMWindow.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/DOMWindow.cpp b/third_party/WebKit/Source/core/frame/DOMWindow.cpp
|
| index 4e42da30fadd58788336bcc40100ec25761c1ac1..8ced0a4b5f5fddb7ae9fb409ca8948079686bc2b 100644
|
| --- a/third_party/WebKit/Source/core/frame/DOMWindow.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/DOMWindow.cpp
|
| @@ -9,6 +9,7 @@
|
| #include "core/dom/ExecutionContext.h"
|
| #include "core/dom/SecurityContext.h"
|
| #include "core/events/MessageEvent.h"
|
| +#include "core/frame/External.h"
|
| #include "core/frame/Frame.h"
|
| #include "core/frame/FrameClient.h"
|
| #include "core/frame/FrameConsole.h"
|
| @@ -124,6 +125,12 @@ DOMWindow* DOMWindow::top() const
|
| return frame()->tree().top()->domWindow();
|
| }
|
|
|
| +External* DOMWindow::external() const
|
| +{
|
| + DEFINE_STATIC_LOCAL(Persistent<External>, external, (new External));
|
| + return external;
|
| +}
|
| +
|
| DOMWindow* DOMWindow::anonymousIndexedGetter(uint32_t index) const
|
| {
|
| if (!frame())
|
|
|