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

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

Issue 168963003: Make WebPrivatePtr capable of wrapping garbage collected objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Temporarily drop back to using .reset() instead of nullptr. 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/modules/speech/SpeechGrammar.h
diff --git a/Source/modules/speech/SpeechGrammar.h b/Source/modules/speech/SpeechGrammar.h
index 757c8f0178dfd8f4c3dd3f89a8de9e66bf0905f9..2f3cab5c16a08501ae7d3bb0ca7b3fed6ded96db 100644
--- a/Source/modules/speech/SpeechGrammar.h
+++ b/Source/modules/speech/SpeechGrammar.h
@@ -36,7 +36,7 @@ namespace WebCore {
class ExecutionContext;
-class SpeechGrammar : public RefCountedWillBeRefCountedGarbageCollected<SpeechGrammar>, public ScriptWrappable {
+class SpeechGrammar : public RefCountedWillBeGarbageCollectedFinalized<SpeechGrammar>, public ScriptWrappable {
DECLARE_GC_INFO;
public:
static PassRefPtrWillBeRawPtr<SpeechGrammar> create(); // FIXME: The spec is not clear on what the constructor should look like.

Powered by Google App Engine
This is Rietveld 408576698