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

Unified Diff: third_party/WebKit/Source/core/css/MediaQueryListEvent.h

Issue 2217763003: Remove Blink-WebKit-only document.createEvent strings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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/core/css/MediaQueryListEvent.h
diff --git a/third_party/WebKit/Source/core/css/MediaQueryListEvent.h b/third_party/WebKit/Source/core/css/MediaQueryListEvent.h
index 6924bbff843b2315d526e6827fb7101bcf90ff94..c5cb8b5bef8bea08cd2e673527d084dde0f1b1dc 100644
--- a/third_party/WebKit/Source/core/css/MediaQueryListEvent.h
+++ b/third_party/WebKit/Source/core/css/MediaQueryListEvent.h
@@ -14,11 +14,6 @@ namespace blink {
class MediaQueryListEvent final : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
- static MediaQueryListEvent* create()
- {
- return new MediaQueryListEvent;
- }
-
static MediaQueryListEvent* create(MediaQueryList* list)
{
return new MediaQueryListEvent(list);
@@ -46,9 +41,6 @@ public:
}
private:
- MediaQueryListEvent()
- : m_matches(false) { }
-
MediaQueryListEvent(const String& media, bool matches)
: Event(EventTypeNames::change, false, false)
, m_media(media)

Powered by Google App Engine
This is Rietveld 408576698