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

Unified Diff: third_party/WebKit/Source/modules/storage/Storage.h

Issue 2375873003: Make DOMWindowProperty::m_frame private (Closed)
Patch Set: Created 4 years, 3 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: third_party/WebKit/Source/modules/storage/Storage.h
diff --git a/third_party/WebKit/Source/modules/storage/Storage.h b/third_party/WebKit/Source/modules/storage/Storage.h
index 8e51d0ce626186cc69e72219ea246d779265ef40..82920af20ddb6d5290d5c4d9e24bec36f59a4948 100644
--- a/third_party/WebKit/Source/modules/storage/Storage.h
+++ b/third_party/WebKit/Source/modules/storage/Storage.h
@@ -44,13 +44,13 @@ class Storage final : public GarbageCollected<Storage>, public ScriptWrappable,
USING_GARBAGE_COLLECTED_MIXIN(Storage);
public:
static Storage* create(LocalFrame*, StorageArea*);
- unsigned length(ExceptionState& ec) const { return m_storageArea->length(ec, m_frame); }
- String key(unsigned index, ExceptionState& ec) const { return m_storageArea->key(index, ec, m_frame); }
- String getItem(const String& key, ExceptionState& ec) const { return m_storageArea->getItem(key, ec, m_frame); }
- void setItem(const String& key, const String& value, ExceptionState& ec) { m_storageArea->setItem(key, value, ec, m_frame); }
- void removeItem(const String& key, ExceptionState& ec) { m_storageArea->removeItem(key, ec, m_frame); }
- void clear(ExceptionState& ec) { m_storageArea->clear(ec, m_frame); }
- bool contains(const String& key, ExceptionState& ec) const { return m_storageArea->contains(key, ec, m_frame); }
+ unsigned length(ExceptionState& ec) const { return m_storageArea->length(ec, frame()); }
+ String key(unsigned index, ExceptionState& ec) const { return m_storageArea->key(index, ec, frame()); }
+ String getItem(const String& key, ExceptionState& ec) const { return m_storageArea->getItem(key, ec, frame()); }
+ void setItem(const String& key, const String& value, ExceptionState& ec) { m_storageArea->setItem(key, value, ec, frame()); }
+ void removeItem(const String& key, ExceptionState& ec) { m_storageArea->removeItem(key, ec, frame()); }
+ void clear(ExceptionState& ec) { m_storageArea->clear(ec, frame()); }
+ bool contains(const String& key, ExceptionState& ec) const { return m_storageArea->contains(key, ec, frame()); }
StorageArea* area() const { return m_storageArea.get(); }

Powered by Google App Engine
This is Rietveld 408576698