Index: third_party/WebKit/Source/web/WebDocument.cpp |
diff --git a/third_party/WebKit/Source/web/WebDocument.cpp b/third_party/WebKit/Source/web/WebDocument.cpp |
index 3b9da10571a614176c86766a8fd92ce305285dde..1e2f5d200839dd0c608604c6a852c72ea892e7eb 100644 |
--- a/third_party/WebKit/Source/web/WebDocument.cpp |
+++ b/third_party/WebKit/Source/web/WebDocument.cpp |
@@ -248,15 +248,6 @@ WebElement WebDocument::fullScreenElement() const |
return WebElement(fullScreenElement); |
} |
-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()); |