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

Unified Diff: Source/modules/quota/NavigatorStorageQuota.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/quota/NavigatorStorageQuota.h
diff --git a/Source/modules/quota/NavigatorStorageQuota.h b/Source/modules/quota/NavigatorStorageQuota.h
index cc0ccefcdbedb9720601fb5b875fb3bf08097d1a..fccd0f4667f5133892864387ae11d560982cda5d 100644
--- a/Source/modules/quota/NavigatorStorageQuota.h
+++ b/Source/modules/quota/NavigatorStorageQuota.h
@@ -45,11 +45,11 @@ class StorageQuota;
class NavigatorStorageQuota FINAL : public Supplement<Navigator>, public DOMWindowProperty {
public:
virtual ~NavigatorStorageQuota();
- static NavigatorStorageQuota* from(Navigator*);
+ static NavigatorStorageQuota& from(Navigator&);
- static StorageQuota* storageQuota(Navigator*);
- static DeprecatedStorageQuota* webkitTemporaryStorage(Navigator*);
- static DeprecatedStorageQuota* webkitPersistentStorage(Navigator*);
+ static StorageQuota* storageQuota(Navigator&);
+ static DeprecatedStorageQuota* webkitTemporaryStorage(Navigator&);
+ static DeprecatedStorageQuota* webkitPersistentStorage(Navigator&);
StorageQuota* storageQuota() const;
DeprecatedStorageQuota* webkitTemporaryStorage() const;

Powered by Google App Engine
This is Rietveld 408576698