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

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

Issue 2656343002: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: Few more Created 3 years, 11 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: third_party/WebKit/Source/modules/speech/SpeechGrammar.h
diff --git a/third_party/WebKit/Source/modules/speech/SpeechGrammar.h b/third_party/WebKit/Source/modules/speech/SpeechGrammar.h
index 6ce0e7019bb9db41f3d531796ac093f3604ed244..9d67075d4b22472bd2da67c1e04f5282061d2fb1 100644
--- a/third_party/WebKit/Source/modules/speech/SpeechGrammar.h
+++ b/third_party/WebKit/Source/modules/speech/SpeechGrammar.h
@@ -34,7 +34,7 @@
namespace blink {
-class ExecutionContext;
+class ScriptState;
class MODULES_EXPORT SpeechGrammar final
: public GarbageCollectedFinalized<SpeechGrammar>,
@@ -46,9 +46,9 @@ class MODULES_EXPORT SpeechGrammar final
// constructor should look like.
static SpeechGrammar* create(const KURL& src, double weight);
- const KURL& src(ExecutionContext*) const { return m_src; }
+ const KURL& src(ScriptState*) const { return m_src; }
const KURL& src() const { return m_src; }
- void setSrc(ExecutionContext*, const String& src);
+ void setSrc(ScriptState*, const String& src);
double weight() const { return m_weight; }
void setWeight(double weight) { m_weight = weight; }

Powered by Google App Engine
This is Rietveld 408576698