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

Unified Diff: Source/modules/donottrack/NavigatorDoNotTrack.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/donottrack/NavigatorDoNotTrack.h
diff --git a/Source/modules/donottrack/NavigatorDoNotTrack.h b/Source/modules/donottrack/NavigatorDoNotTrack.h
index 7255b32b6be4ad70cd198639d0639a4f8046ff39..fef870a73e166af463391435fb5e38646f88f5fd 100644
--- a/Source/modules/donottrack/NavigatorDoNotTrack.h
+++ b/Source/modules/donottrack/NavigatorDoNotTrack.h
@@ -43,9 +43,9 @@ class Navigator;
class NavigatorDoNotTrack FINAL : public Supplement<Navigator>, public DOMWindowProperty {
public:
virtual ~NavigatorDoNotTrack();
- static NavigatorDoNotTrack* from(Navigator*);
+ static NavigatorDoNotTrack& from(Navigator&);
- static String doNotTrack(Navigator*);
+ static String doNotTrack(Navigator&);
String doNotTrack();

Powered by Google App Engine
This is Rietveld 408576698