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

Unified Diff: Source/modules/quota/DOMWindowQuota.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/DOMWindowQuota.h
diff --git a/Source/modules/quota/DOMWindowQuota.h b/Source/modules/quota/DOMWindowQuota.h
index 07eaf768d5eb92a266d315c317e0d935b953cc7d..373d213e8643e34c682b06f287ac1081d90e7777 100644
--- a/Source/modules/quota/DOMWindowQuota.h
+++ b/Source/modules/quota/DOMWindowQuota.h
@@ -43,12 +43,12 @@ class DOMWindow;
class DOMWindowQuota FINAL : public Supplement<DOMWindow>, public DOMWindowProperty {
public:
virtual ~DOMWindowQuota();
- static DOMWindowQuota* from(DOMWindow*);
- static DeprecatedStorageInfo* webkitStorageInfo(DOMWindow*);
+ static DOMWindowQuota& from(DOMWindow&);
+ static DeprecatedStorageInfo* webkitStorageInfo(DOMWindow&);
DeprecatedStorageInfo* webkitStorageInfo() const;
private:
- explicit DOMWindowQuota(DOMWindow*);
+ explicit DOMWindowQuota(DOMWindow&);
static const char* supplementName();
mutable RefPtrWillBePersistent<DeprecatedStorageInfo> m_storageInfo;

Powered by Google App Engine
This is Rietveld 408576698