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

Unified Diff: Source/modules/performance/WorkerGlobalScopePerformance.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/performance/WorkerGlobalScopePerformance.h
diff --git a/Source/modules/performance/WorkerGlobalScopePerformance.h b/Source/modules/performance/WorkerGlobalScopePerformance.h
index 489785221181446f02c4062305bcde713b2fd9a4..ee125329f763c0c9aa4a6da1cc902416d720c46f 100644
--- a/Source/modules/performance/WorkerGlobalScopePerformance.h
+++ b/Source/modules/performance/WorkerGlobalScopePerformance.h
@@ -40,9 +40,9 @@ namespace WebCore {
class WorkerGlobalScopePerformance FINAL : public WorkerSupplement {
public:
virtual ~WorkerGlobalScopePerformance();
- static WorkerGlobalScopePerformance* from(WorkerGlobalScope*);
+ static WorkerGlobalScopePerformance& from(WorkerGlobalScope&);
- static WorkerPerformance* performance(WorkerGlobalScope*);
+ static WorkerPerformance* performance(WorkerGlobalScope&);
private:
WorkerGlobalScopePerformance();

Powered by Google App Engine
This is Rietveld 408576698