| Index: third_party/WebKit/Source/modules/speech/DOMWindowSpeechSynthesis.cpp
|
| diff --git a/third_party/WebKit/Source/modules/speech/DOMWindowSpeechSynthesis.cpp b/third_party/WebKit/Source/modules/speech/DOMWindowSpeechSynthesis.cpp
|
| index a3d21180691bbdfe5540745fe44b133e1010f720..87e3d795e78c158c29128464a91919d5e25c2e28 100644
|
| --- a/third_party/WebKit/Source/modules/speech/DOMWindowSpeechSynthesis.cpp
|
| +++ b/third_party/WebKit/Source/modules/speech/DOMWindowSpeechSynthesis.cpp
|
| @@ -41,8 +41,6 @@ DOMWindowSpeechSynthesis::DOMWindowSpeechSynthesis(LocalDOMWindow& window)
|
| {
|
| }
|
|
|
| -DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DOMWindowSpeechSynthesis);
|
| -
|
| const char* DOMWindowSpeechSynthesis::supplementName()
|
| {
|
| return "DOMWindowSpeechSynthesis";
|
| @@ -51,7 +49,7 @@ const char* DOMWindowSpeechSynthesis::supplementName()
|
| // static
|
| DOMWindowSpeechSynthesis& DOMWindowSpeechSynthesis::from(LocalDOMWindow& window)
|
| {
|
| - DOMWindowSpeechSynthesis* supplement = static_cast<DOMWindowSpeechSynthesis*>(WillBeHeapSupplement<LocalDOMWindow>::from(window, supplementName()));
|
| + DOMWindowSpeechSynthesis* supplement = static_cast<DOMWindowSpeechSynthesis*>(HeapSupplement<LocalDOMWindow>::from(window, supplementName()));
|
| if (!supplement) {
|
| supplement = new DOMWindowSpeechSynthesis(window);
|
| provideTo(window, supplementName(), adoptPtrWillBeNoop(supplement));
|
| @@ -75,7 +73,7 @@ SpeechSynthesis* DOMWindowSpeechSynthesis::speechSynthesis()
|
| DEFINE_TRACE(DOMWindowSpeechSynthesis)
|
| {
|
| visitor->trace(m_speechSynthesis);
|
| - WillBeHeapSupplement<LocalDOMWindow>::trace(visitor);
|
| + HeapSupplement<LocalDOMWindow>::trace(visitor);
|
| DOMWindowProperty::trace(visitor);
|
| }
|
|
|
|
|