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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/DOMWindowIndexedDatabase.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/indexeddb/DOMWindowIndexedDatabase.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp b/third_party/WebKit/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp
index 001243ba39e346e7c79250345f3b3c8d9cd2fe83..4abd2922288e7a57e07db9ffd63a1acf794635fd 100644
--- a/third_party/WebKit/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp
@@ -42,7 +42,7 @@ DEFINE_TRACE(DOMWindowIndexedDatabase)
{
visitor->trace(m_window);
visitor->trace(m_idbFactory);
- HeapSupplement<LocalDOMWindow>::trace(visitor);
+ Supplement<LocalDOMWindow>::trace(visitor);
DOMWindowProperty::trace(visitor);
}
@@ -53,7 +53,7 @@ const char* DOMWindowIndexedDatabase::supplementName()
DOMWindowIndexedDatabase& DOMWindowIndexedDatabase::from(LocalDOMWindow& window)
{
- DOMWindowIndexedDatabase* supplement = static_cast<DOMWindowIndexedDatabase*>(HeapSupplement<LocalDOMWindow>::from(window, supplementName()));
+ DOMWindowIndexedDatabase* supplement = static_cast<DOMWindowIndexedDatabase*>(Supplement<LocalDOMWindow>::from(window, supplementName()));
if (!supplement) {
supplement = new DOMWindowIndexedDatabase(window);
provideTo(window, supplementName(), supplement);

Powered by Google App Engine
This is Rietveld 408576698