| Index: sky/engine/web/WebDocument.cpp
|
| diff --git a/sky/engine/web/WebDocument.cpp b/sky/engine/web/WebDocument.cpp
|
| index d20426220a2096b73e406fb2edf9026f366b46cc..cdff0c58d7e8dfae6cadd5d54df4362f0dec7d3c 100644
|
| --- a/sky/engine/web/WebDocument.cpp
|
| +++ b/sky/engine/web/WebDocument.cpp
|
| @@ -44,8 +44,6 @@
|
| #include "core/rendering/RenderObject.h"
|
| #include "core/rendering/RenderView.h"
|
| #include "public/platform/WebURL.h"
|
| -#include "public/web/WebDOMEvent.h"
|
| -#include "public/web/WebDocumentType.h"
|
| #include "public/web/WebElement.h"
|
| #include "web/WebLocalFrameImpl.h"
|
| #include "wtf/PassRefPtr.h"
|
| @@ -113,15 +111,6 @@ WebElement WebDocument::focusedElement() const
|
| return WebElement(constUnwrap<Document>()->focusedElement());
|
| }
|
|
|
| -WebDOMEvent WebDocument::createEvent(const WebString& eventType)
|
| -{
|
| - TrackExceptionState exceptionState;
|
| - WebDOMEvent event(unwrap<Document>()->createEvent(eventType, exceptionState));
|
| - if (exceptionState.hadException())
|
| - return WebDOMEvent();
|
| - return event;
|
| -}
|
| -
|
| WebReferrerPolicy WebDocument::referrerPolicy() const
|
| {
|
| return static_cast<WebReferrerPolicy>(constUnwrap<Document>()->referrerPolicy());
|
|
|