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

Unified Diff: Source/modules/geolocation/NavigatorGeolocation.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/geolocation/NavigatorGeolocation.h
diff --git a/Source/modules/geolocation/NavigatorGeolocation.h b/Source/modules/geolocation/NavigatorGeolocation.h
index 8f1bb7c1bfe628c632c77460d2eb9c7088afd590..35e22a5a69947fdaadd8d49c558fde5fab113604 100644
--- a/Source/modules/geolocation/NavigatorGeolocation.h
+++ b/Source/modules/geolocation/NavigatorGeolocation.h
@@ -33,9 +33,9 @@ class Navigator;
class NavigatorGeolocation FINAL : public Supplement<Navigator>, public DOMWindowProperty {
public:
virtual ~NavigatorGeolocation();
- static NavigatorGeolocation* from(Navigator*);
+ static NavigatorGeolocation& from(Navigator&);
- static Geolocation* geolocation(Navigator*);
+ static Geolocation* geolocation(Navigator&);
Geolocation* geolocation() const;
private:

Powered by Google App Engine
This is Rietveld 408576698