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

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

Issue 171333003: Pass implementation object to supplemental classes by reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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/DOMWindowSpeechSynthesis.h
diff --git a/Source/modules/speech/DOMWindowSpeechSynthesis.h b/Source/modules/speech/DOMWindowSpeechSynthesis.h
index b940a5cc06125d52a811858eb8a0dfce42419213..e78a4e19cb0e4610c0bdcd6b06d8e8b74eb55649 100644
--- a/Source/modules/speech/DOMWindowSpeechSynthesis.h
+++ b/Source/modules/speech/DOMWindowSpeechSynthesis.h
@@ -39,11 +39,11 @@ class DOMWindowSpeechSynthesis FINAL : public Supplement<DOMWindow>, public DOMW
public:
virtual ~DOMWindowSpeechSynthesis();
- static SpeechSynthesis* speechSynthesis(DOMWindow*);
- static DOMWindowSpeechSynthesis* from(DOMWindow*);
+ static SpeechSynthesis* speechSynthesis(DOMWindow&);
+ static DOMWindowSpeechSynthesis& from(DOMWindow&);
private:
- explicit DOMWindowSpeechSynthesis(DOMWindow*);
+ explicit DOMWindowSpeechSynthesis(DOMWindow&);
SpeechSynthesis* speechSynthesis();
static const char* supplementName();

Powered by Google App Engine
This is Rietveld 408576698