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

Unified Diff: Source/modules/crypto/WorkerGlobalScopeCrypto.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/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:

Powered by Google App Engine
This is Rietveld 408576698