Index: third_party/WebKit/Source/bindings/core/v8/V8PagePopupControllerBinding.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PagePopupControllerBinding.cpp b/third_party/WebKit/Source/bindings/core/v8/V8PagePopupControllerBinding.cpp |
index b2a88bde3725a2030e7e1eea5b31914f25b0dc5b..bd3db2a6917dc4eccda42e0a97004c545a3e8ba0 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8PagePopupControllerBinding.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PagePopupControllerBinding.cpp |
@@ -9,8 +9,8 @@ |
#include "core/dom/ContextFeatures.h" |
#include "core/dom/Document.h" |
#include "core/dom/ExecutionContext.h" |
-#include "core/page/DOMWindowPagePopup.h" |
#include "core/page/PagePopupController.h" |
+#include "core/page/PagePopupSupplement.h" |
#include "platform/TraceEvent.h" |
namespace blink { |
@@ -21,7 +21,7 @@ void pagePopupControllerAttributeGetter(const v8::PropertyCallbackInfo<v8::Value |
{ |
v8::Local<v8::Object> holder = info.Holder(); |
DOMWindow* impl = V8Window::toImpl(holder); |
- RefPtrWillBeRawPtr<PagePopupController> cppValue(DOMWindowPagePopup::pagePopupController(*impl)); |
+ RefPtrWillBeRawPtr<PagePopupController> cppValue(PagePopupSupplement::pagePopupController(*toLocalDOMWindow(impl)->frame())); |
v8SetReturnValue(info, toV8(cppValue.get(), holder, info.GetIsolate())); |
} |