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

Unified Diff: Source/modules/crypto/WorkerGlobalScopeCrypto.h

Issue 165443003: Pass implementation object to supplemental classes by reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/modules/crypto/DOMWindowCrypto.cpp ('k') | Source/modules/crypto/WorkerGlobalScopeCrypto.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/WorkerGlobalScopeCrypto.h
diff --git a/Source/modules/crypto/WorkerGlobalScopeCrypto.h b/Source/modules/crypto/WorkerGlobalScopeCrypto.h
index 0e73a32f2986b03119091fd276249936b100d588..9937bb6f4cea387cec74c642ef2813a3d39e5ca9 100644
--- a/Source/modules/crypto/WorkerGlobalScopeCrypto.h
+++ b/Source/modules/crypto/WorkerGlobalScopeCrypto.h
@@ -42,8 +42,8 @@ class ExecutionContext;
class WorkerGlobalScopeCrypto FINAL : public WorkerSupplement {
public:
virtual ~WorkerGlobalScopeCrypto();
- static WorkerGlobalScopeCrypto* from(WorkerSupplementable*);
- static WorkerCrypto* crypto(WorkerSupplementable*);
+ static WorkerGlobalScopeCrypto& from(WorkerSupplementable&);
+ static WorkerCrypto* crypto(WorkerSupplementable&);
WorkerCrypto* crypto() const;
private:
« no previous file with comments | « Source/modules/crypto/DOMWindowCrypto.cpp ('k') | Source/modules/crypto/WorkerGlobalScopeCrypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698