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

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

Issue 334283004: Rename DOMWindow to LocalDOMWindow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 6 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
« no previous file with comments | « Source/modules/speech/DOMWindowSpeechSynthesis.h ('k') | Source/modules/webdatabase/DOMWindowWebDatabase.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/speech/DOMWindowSpeechSynthesis.cpp
diff --git a/Source/modules/speech/DOMWindowSpeechSynthesis.cpp b/Source/modules/speech/DOMWindowSpeechSynthesis.cpp
index e3bc3f3190b9869bfef5b0e3380bdd856047500c..d67d3b64af4a3952f0078ff07de3c48e63e946ed 100644
--- a/Source/modules/speech/DOMWindowSpeechSynthesis.cpp
+++ b/Source/modules/speech/DOMWindowSpeechSynthesis.cpp
@@ -31,13 +31,13 @@
#include "config.h"
#include "modules/speech/DOMWindowSpeechSynthesis.h"
-#include "core/frame/DOMWindow.h"
+#include "core/frame/LocalDOMWindow.h"
#include "core/frame/LocalFrame.h"
#include "wtf/PassRefPtr.h"
namespace WebCore {
-DOMWindowSpeechSynthesis::DOMWindowSpeechSynthesis(DOMWindow& window)
+DOMWindowSpeechSynthesis::DOMWindowSpeechSynthesis(LocalDOMWindow& window)
: DOMWindowProperty(window.frame())
{
}
@@ -52,9 +52,9 @@ const char* DOMWindowSpeechSynthesis::supplementName()
}
// static
-DOMWindowSpeechSynthesis& DOMWindowSpeechSynthesis::from(DOMWindow& window)
+DOMWindowSpeechSynthesis& DOMWindowSpeechSynthesis::from(LocalDOMWindow& window)
{
- DOMWindowSpeechSynthesis* supplement = static_cast<DOMWindowSpeechSynthesis*>(WillBeHeapSupplement<DOMWindow>::from(window, supplementName()));
+ DOMWindowSpeechSynthesis* supplement = static_cast<DOMWindowSpeechSynthesis*>(WillBeHeapSupplement<LocalDOMWindow>::from(window, supplementName()));
if (!supplement) {
supplement = new DOMWindowSpeechSynthesis(window);
provideTo(window, supplementName(), adoptPtrWillBeNoop(supplement));
@@ -63,7 +63,7 @@ DOMWindowSpeechSynthesis& DOMWindowSpeechSynthesis::from(DOMWindow& window)
}
// static
-SpeechSynthesis* DOMWindowSpeechSynthesis::speechSynthesis(DOMWindow& window)
+SpeechSynthesis* DOMWindowSpeechSynthesis::speechSynthesis(LocalDOMWindow& window)
{
return DOMWindowSpeechSynthesis::from(window).speechSynthesis();
}
@@ -78,7 +78,7 @@ SpeechSynthesis* DOMWindowSpeechSynthesis::speechSynthesis()
void DOMWindowSpeechSynthesis::trace(Visitor* visitor)
{
visitor->trace(m_speechSynthesis);
- WillBeHeapSupplement<DOMWindow>::trace(visitor);
+ WillBeHeapSupplement<LocalDOMWindow>::trace(visitor);
}
} // namespace WebCore
« no previous file with comments | « Source/modules/speech/DOMWindowSpeechSynthesis.h ('k') | Source/modules/webdatabase/DOMWindowWebDatabase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698