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

Unified Diff: third_party/WebKit/Source/modules/crypto/DOMWindowCrypto.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/crypto/DOMWindowCrypto.cpp
diff --git a/third_party/WebKit/Source/modules/crypto/DOMWindowCrypto.cpp b/third_party/WebKit/Source/modules/crypto/DOMWindowCrypto.cpp
index 72eb47bf47b1ed7dd964b9b5053078afc1b81e5e..d4a663ebaa4c98e6404b677492780263cae056c2 100644
--- a/third_party/WebKit/Source/modules/crypto/DOMWindowCrypto.cpp
+++ b/third_party/WebKit/Source/modules/crypto/DOMWindowCrypto.cpp
@@ -47,7 +47,7 @@ const char* DOMWindowCrypto::supplementName()
DOMWindowCrypto& DOMWindowCrypto::from(LocalDOMWindow& window)
{
- DOMWindowCrypto* supplement = static_cast<DOMWindowCrypto*>(HeapSupplement<LocalDOMWindow>::from(window, supplementName()));
+ DOMWindowCrypto* supplement = static_cast<DOMWindowCrypto*>(Supplement<LocalDOMWindow>::from(window, supplementName()));
if (!supplement) {
supplement = new DOMWindowCrypto(window);
provideTo(window, supplementName(), supplement);
@@ -70,7 +70,7 @@ Crypto* DOMWindowCrypto::crypto() const
DEFINE_TRACE(DOMWindowCrypto)
{
visitor->trace(m_crypto);
- HeapSupplement<LocalDOMWindow>::trace(visitor);
+ Supplement<LocalDOMWindow>::trace(visitor);
DOMWindowProperty::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698