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

Unified Diff: Source/web/WebSpeechRecognitionResult.cpp

Issue 471503002: Cleanup namespace usage in Source/web/Web[I-Z]*.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« 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 0a6343d5d9f2e5dcdf1310e76644f06482451263..2b6bfcd7402c9ba4a148b20dfa58534676ae0ddc 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());
- blink::HeapVector<blink::Member<blink::SpeechRecognitionAlternative> > alternatives(transcripts.size());
+ HeapVector<Member<SpeechRecognitionAlternative> > alternatives(transcripts.size());
for (size_t i = 0; i < transcripts.size(); ++i)
- alternatives[i] = blink::SpeechRecognitionAlternative::create(transcripts[i], confidences[i]);
+ alternatives[i] = SpeechRecognitionAlternative::create(transcripts[i], confidences[i]);
- m_private = blink::SpeechRecognitionResult::create(alternatives, final);
+ m_private = SpeechRecognitionResult::create(alternatives, final);
}
void WebSpeechRecognitionResult::reset()
@@ -57,7 +57,7 @@ void WebSpeechRecognitionResult::reset()
m_private.reset();
}
-WebSpeechRecognitionResult::operator blink::SpeechRecognitionResult*() const
+WebSpeechRecognitionResult::operator 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