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

Unified Diff: Source/web/WebSpeechRecognitionResult.cpp

Issue 398673003: Rename WebCore namespace to blink in bindings and web (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/web/WebSpeechRecognitionHandle.cpp ('k') | Source/web/WebStorageEventDispatcherImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebSpeechRecognitionResult.cpp
diff --git a/Source/web/WebSpeechRecognitionResult.cpp b/Source/web/WebSpeechRecognitionResult.cpp
index 2636270e83e498431c0bb33f983652091f547a7e..0a6343d5d9f2e5dcdf1310e76644f06482451263 100644
--- a/Source/web/WebSpeechRecognitionResult.cpp
+++ b/Source/web/WebSpeechRecognitionResult.cpp
@@ -45,11 +45,11 @@ void WebSpeechRecognitionResult::assign(const WebVector<WebString>& transcripts,
{
ASSERT(transcripts.size() == confidences.size());
- WebCore::HeapVector<WebCore::Member<WebCore::SpeechRecognitionAlternative> > alternatives(transcripts.size());
+ blink::HeapVector<blink::Member<blink::SpeechRecognitionAlternative> > alternatives(transcripts.size());
for (size_t i = 0; i < transcripts.size(); ++i)
- alternatives[i] = WebCore::SpeechRecognitionAlternative::create(transcripts[i], confidences[i]);
+ alternatives[i] = blink::SpeechRecognitionAlternative::create(transcripts[i], confidences[i]);
- m_private = WebCore::SpeechRecognitionResult::create(alternatives, final);
+ m_private = blink::SpeechRecognitionResult::create(alternatives, final);
}
void WebSpeechRecognitionResult::reset()
@@ -57,7 +57,7 @@ void WebSpeechRecognitionResult::reset()
m_private.reset();
}
-WebSpeechRecognitionResult::operator WebCore::SpeechRecognitionResult*() const
+WebSpeechRecognitionResult::operator blink::SpeechRecognitionResult*() const
{
return m_private.get();
}
« no previous file with comments | « Source/web/WebSpeechRecognitionHandle.cpp ('k') | Source/web/WebStorageEventDispatcherImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698