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

Unified Diff: Source/modules/performance/SharedWorkerPerformance.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/SharedWorkerPerformance.h
diff --git a/Source/modules/performance/SharedWorkerPerformance.h b/Source/modules/performance/SharedWorkerPerformance.h
index 9189bd931804900db163505d2668ab02c49b171f..2bd6caf6c5eb859512527d4f89c598821e0a8b82 100644
--- a/Source/modules/performance/SharedWorkerPerformance.h
+++ b/Source/modules/performance/SharedWorkerPerformance.h
@@ -40,10 +40,10 @@ class SharedWorker;
class SharedWorkerPerformance FINAL : public Supplement<SharedWorker> {
public:
virtual ~SharedWorkerPerformance();
- static SharedWorkerPerformance* from(SharedWorker*);
+ static SharedWorkerPerformance& from(SharedWorker&);
- static double workerStart(ExecutionContext*, SharedWorker*);
- double getWorkerStart(ExecutionContext*, SharedWorker*) const;
+ static double workerStart(ExecutionContext*, SharedWorker&);
+ double getWorkerStart(ExecutionContext*, SharedWorker&) const;
private:
explicit SharedWorkerPerformance();

Powered by Google App Engine
This is Rietveld 408576698