Index: Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp |
diff --git a/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp b/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp |
index 2f2df9cbef84c80488944ec3ddabbe6ba86e9091..ea45db1db929c1091b6a0851d0582524e3113868 100644 |
--- a/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp |
+++ b/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp |
@@ -50,10 +50,10 @@ const char* DOMWindowIndexedDatabase::supplementName() |
DOMWindowIndexedDatabase& DOMWindowIndexedDatabase::from(DOMWindow& window) |
{ |
- DOMWindowIndexedDatabase* supplement = static_cast<DOMWindowIndexedDatabase*>(Supplement<DOMWindow>::from(window, supplementName())); |
+ DOMWindowIndexedDatabase* supplement = static_cast<DOMWindowIndexedDatabase*>(WillBeHeapSupplement<DOMWindow>::from(window, supplementName())); |
if (!supplement) { |
supplement = new DOMWindowIndexedDatabase(window); |
- provideTo(window, supplementName(), adoptPtr(supplement)); |
+ provideTo(window, supplementName(), adoptPtrWillBeNoop(supplement)); |
} |
return *supplement; |
} |