Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Unified Diff: third_party/WebKit/Source/web/WebDocument.cpp

Issue 1367333002: Remove WebDocument::createEvent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
« no previous file with comments | « third_party/WebKit/Source/web/WebDOMMessageEvent.cpp ('k') | third_party/WebKit/Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698