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

Unified Diff: Source/modules/speech/SpeechGrammar.h

Issue 330463002: Revert of Enable Oilpan by default in modules/speech/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/speech/SpeechGrammar.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/speech/SpeechGrammar.h
diff --git a/Source/modules/speech/SpeechGrammar.h b/Source/modules/speech/SpeechGrammar.h
index 5a0da9132f35de0376168dc6d2ceeff781607860..32b2f40d8e62b52d60236f05f1feb4741738fb1d 100644
--- a/Source/modules/speech/SpeechGrammar.h
+++ b/Source/modules/speech/SpeechGrammar.h
@@ -29,16 +29,17 @@
#include "bindings/v8/ScriptWrappable.h"
#include "platform/heap/Handle.h"
#include "platform/weborigin/KURL.h"
+#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
namespace WebCore {
class ExecutionContext;
-class SpeechGrammar FINAL : public GarbageCollectedFinalized<SpeechGrammar>, public ScriptWrappable {
+class SpeechGrammar : public RefCountedWillBeGarbageCollectedFinalized<SpeechGrammar>, public ScriptWrappable {
public:
- static SpeechGrammar* create(); // FIXME: The spec is not clear on what the constructor should look like.
- static SpeechGrammar* create(const KURL& src, double weight);
+ static PassRefPtrWillBeRawPtr<SpeechGrammar> create(); // FIXME: The spec is not clear on what the constructor should look like.
+ static PassRefPtrWillBeRawPtr<SpeechGrammar> create(const KURL& src, double weight);
const KURL& src(ExecutionContext*) const { return m_src; }
const KURL& src() const { return m_src; }
« no previous file with comments | « Source/modules/speech/DOMWindowSpeechSynthesis.h ('k') | Source/modules/speech/SpeechGrammar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698