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

Unified Diff: Source/web/WebSpeechRecognitionResult.cpp

Issue 168963003: Make WebPrivatePtr capable of wrapping garbage collected objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update transition type comment Created 6 years, 10 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
Index: Source/web/WebSpeechRecognitionResult.cpp
diff --git a/Source/web/WebSpeechRecognitionResult.cpp b/Source/web/WebSpeechRecognitionResult.cpp
index fee75e2bc968d520fa05b8d8c5afe5bded17a73e..c49204608e5bc01413b326e0bcca5a6c01952c40 100644
--- a/Source/web/WebSpeechRecognitionResult.cpp
+++ b/Source/web/WebSpeechRecognitionResult.cpp
@@ -34,16 +34,6 @@
#include "wtf/RefPtr.h"
#include "wtf/Vector.h"
-// FIXME: oilpan: If the WebCore-qualified Oilpan transition types
-// used below map to CPP #defines, move the type names they expand to
-// into the WebCore namespace. When Oilpan is always enabled, this
-// block can be removed.
-namespace WebCore {
-using WTF::RawPtr;
-using WTF::RefPtr;
-using WTF::Vector;
-};
-
namespace blink {
void WebSpeechRecognitionResult::assign(const WebSpeechRecognitionResult& other)
@@ -55,7 +45,7 @@ void WebSpeechRecognitionResult::assign(const WebVector<WebString>& transcripts,
{
ASSERT(transcripts.size() == confidences.size());
- WebCore::WillBeHeapVector<WebCore::RefPtrWillBeMember<WebCore::SpeechRecognitionAlternative> > alternatives(transcripts.size());
+ WillBeHeapVector<RefPtrWillBeMember<WebCore::SpeechRecognitionAlternative> > alternatives(transcripts.size());
for (size_t i = 0; i < transcripts.size(); ++i)
alternatives[i] = WebCore::SpeechRecognitionAlternative::create(transcripts[i], confidences[i]);

Powered by Google App Engine
This is Rietveld 408576698