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

Unified Diff: Source/modules/speech/DOMWindowSpeechSynthesis.cpp

Issue 683013002: Extract a DOMWindow interface from LocalDOMWindow and use it in the idl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix incorrect assumption Created 6 years, 1 month 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: Source/modules/speech/DOMWindowSpeechSynthesis.cpp
diff --git a/Source/modules/speech/DOMWindowSpeechSynthesis.cpp b/Source/modules/speech/DOMWindowSpeechSynthesis.cpp
index a8e0a67ad574e8cd4953f28db2de51973fc51507..bd0cb9f8a81e00d5670f4d1238880ad7794df9e8 100644
--- a/Source/modules/speech/DOMWindowSpeechSynthesis.cpp
+++ b/Source/modules/speech/DOMWindowSpeechSynthesis.cpp
@@ -61,9 +61,9 @@ DOMWindowSpeechSynthesis& DOMWindowSpeechSynthesis::from(LocalDOMWindow& window)
}
// static
-SpeechSynthesis* DOMWindowSpeechSynthesis::speechSynthesis(LocalDOMWindow& window)
+SpeechSynthesis* DOMWindowSpeechSynthesis::speechSynthesis(DOMWindow& window)
haraken 2014/11/08 09:17:25 Ditto.
{
- return DOMWindowSpeechSynthesis::from(window).speechSynthesis();
+ return DOMWindowSpeechSynthesis::from(toLocalDOMWindow(window)).speechSynthesis();
}
SpeechSynthesis* DOMWindowSpeechSynthesis::speechSynthesis()

Powered by Google App Engine
This is Rietveld 408576698