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

Unified Diff: third_party/WebKit/Source/modules/crypto/DOMWindowCrypto.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (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 36233c571723d717e88e43ffab7a546941fa25cd..f8c5489d86cbd8cd589c2d7fa09c4a80f7423d0d 100644
--- a/third_party/WebKit/Source/modules/crypto/DOMWindowCrypto.cpp
+++ b/third_party/WebKit/Source/modules/crypto/DOMWindowCrypto.cpp
@@ -40,8 +40,6 @@ DOMWindowCrypto::DOMWindowCrypto(LocalDOMWindow& window)
{
}
-DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DOMWindowCrypto);
-
const char* DOMWindowCrypto::supplementName()
{
return "DOMWindowCrypto";
@@ -49,7 +47,7 @@ const char* DOMWindowCrypto::supplementName()
DOMWindowCrypto& DOMWindowCrypto::from(LocalDOMWindow& window)
{
- DOMWindowCrypto* supplement = static_cast<DOMWindowCrypto*>(WillBeHeapSupplement<LocalDOMWindow>::from(window, supplementName()));
+ DOMWindowCrypto* supplement = static_cast<DOMWindowCrypto*>(HeapSupplement<LocalDOMWindow>::from(window, supplementName()));
if (!supplement) {
supplement = new DOMWindowCrypto(window);
provideTo(window, supplementName(), adoptPtrWillBeNoop(supplement));
@@ -72,7 +70,7 @@ Crypto* DOMWindowCrypto::crypto() const
DEFINE_TRACE(DOMWindowCrypto)
{
visitor->trace(m_crypto);
- WillBeHeapSupplement<LocalDOMWindow>::trace(visitor);
+ HeapSupplement<LocalDOMWindow>::trace(visitor);
DOMWindowProperty::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698