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

Unified Diff: third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.cpp

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/modules/speech/SpeechRecognitionEvent.cpp
diff --git a/third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.cpp b/third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.cpp
index 8343decef57898a0f0b7d762590f854cabcdd938..645951b9e4bffc9b60e24f535e938b7811cec5f2 100644
--- a/third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.cpp
+++ b/third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.cpp
@@ -27,11 +27,6 @@
namespace blink {
-SpeechRecognitionEvent* SpeechRecognitionEvent::create()
-{
- return new SpeechRecognitionEvent;
-}
-
SpeechRecognitionEvent* SpeechRecognitionEvent::create(const AtomicString& eventName, const SpeechRecognitionEventInit& initializer)
{
return new SpeechRecognitionEvent(eventName, initializer);
@@ -58,11 +53,6 @@ const AtomicString& SpeechRecognitionEvent::interfaceName() const
return EventNames::SpeechRecognitionEvent;
}
-SpeechRecognitionEvent::SpeechRecognitionEvent()
- : m_resultIndex(0)
-{
-}
-
SpeechRecognitionEvent::SpeechRecognitionEvent(const AtomicString& eventName, const SpeechRecognitionEventInit& initializer)
: Event(eventName, initializer)
, m_resultIndex(0)

Powered by Google App Engine
This is Rietveld 408576698