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

Unified Diff: third_party/WebKit/Source/modules/quota/DOMWindowQuota.cpp

Issue 1846913009: HeapSupplements are now just Supplements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/quota/DOMWindowQuota.cpp
diff --git a/third_party/WebKit/Source/modules/quota/DOMWindowQuota.cpp b/third_party/WebKit/Source/modules/quota/DOMWindowQuota.cpp
index a09716cc146a8e7722611620df3d95422567ebd0..524cb934bd6d488e98bb997e62f0a853775e1160 100644
--- a/third_party/WebKit/Source/modules/quota/DOMWindowQuota.cpp
+++ b/third_party/WebKit/Source/modules/quota/DOMWindowQuota.cpp
@@ -50,7 +50,7 @@ const char* DOMWindowQuota::supplementName()
// static
DOMWindowQuota& DOMWindowQuota::from(LocalDOMWindow& window)
{
- DOMWindowQuota* supplement = static_cast<DOMWindowQuota*>(HeapSupplement<LocalDOMWindow>::from(window, supplementName()));
+ DOMWindowQuota* supplement = static_cast<DOMWindowQuota*>(Supplement<LocalDOMWindow>::from(window, supplementName()));
if (!supplement) {
supplement = new DOMWindowQuota(window);
provideTo(window, supplementName(), supplement);
@@ -74,7 +74,7 @@ DeprecatedStorageInfo* DOMWindowQuota::webkitStorageInfo() const
DEFINE_TRACE(DOMWindowQuota)
{
visitor->trace(m_storageInfo);
- HeapSupplement<LocalDOMWindow>::trace(visitor);
+ Supplement<LocalDOMWindow>::trace(visitor);
DOMWindowProperty::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698