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

Unified Diff: third_party/WebKit/Source/modules/quota/DOMWindowQuota.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/quota/DOMWindowQuota.cpp
diff --git a/third_party/WebKit/Source/modules/quota/DOMWindowQuota.cpp b/third_party/WebKit/Source/modules/quota/DOMWindowQuota.cpp
index 80ccd1d490e7a6b8a9cce6861130d9eb1ff2c074..f7d7720bc1ff64aa63ce5109549c48d811fd07ed 100644
--- a/third_party/WebKit/Source/modules/quota/DOMWindowQuota.cpp
+++ b/third_party/WebKit/Source/modules/quota/DOMWindowQuota.cpp
@@ -42,8 +42,6 @@ DOMWindowQuota::DOMWindowQuota(LocalDOMWindow& window)
{
}
-DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DOMWindowQuota);
-
const char* DOMWindowQuota::supplementName()
{
return "DOMWindowQuota";
@@ -52,7 +50,7 @@ const char* DOMWindowQuota::supplementName()
// static
DOMWindowQuota& DOMWindowQuota::from(LocalDOMWindow& window)
{
- DOMWindowQuota* supplement = static_cast<DOMWindowQuota*>(WillBeHeapSupplement<LocalDOMWindow>::from(window, supplementName()));
+ DOMWindowQuota* supplement = static_cast<DOMWindowQuota*>(HeapSupplement<LocalDOMWindow>::from(window, supplementName()));
if (!supplement) {
supplement = new DOMWindowQuota(window);
provideTo(window, supplementName(), adoptPtrWillBeNoop(supplement));
@@ -76,7 +74,7 @@ DeprecatedStorageInfo* DOMWindowQuota::webkitStorageInfo() const
DEFINE_TRACE(DOMWindowQuota)
{
visitor->trace(m_storageInfo);
- WillBeHeapSupplement<LocalDOMWindow>::trace(visitor);
+ HeapSupplement<LocalDOMWindow>::trace(visitor);
DOMWindowProperty::trace(visitor);
}
« no previous file with comments | « third_party/WebKit/Source/modules/quota/DOMWindowQuota.h ('k') | third_party/WebKit/Source/modules/quota/StorageQuotaClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698