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

Unified Diff: third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.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/csspaint/WindowPaintWorklet.cpp
diff --git a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp b/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp
index 3e1165655c4a636622b66e7c3952f77dc46e42fd..0bc49d76d7cd57fc001478692e6e2817ade5d251 100644
--- a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp
+++ b/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp
@@ -15,8 +15,6 @@ WindowPaintWorklet::WindowPaintWorklet(LocalDOMWindow& window)
{
}
-DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(WindowPaintWorklet);
-
const char* WindowPaintWorklet::supplementName()
{
return "WindowPaintWorklet";
@@ -25,7 +23,7 @@ const char* WindowPaintWorklet::supplementName()
// static
WindowPaintWorklet& WindowPaintWorklet::from(LocalDOMWindow& window)
{
- WindowPaintWorklet* supplement = static_cast<WindowPaintWorklet*>(WillBeHeapSupplement<LocalDOMWindow>::from(window, supplementName()));
+ WindowPaintWorklet* supplement = static_cast<WindowPaintWorklet*>(HeapSupplement<LocalDOMWindow>::from(window, supplementName()));
if (!supplement) {
supplement = new WindowPaintWorklet(window);
provideTo(window, supplementName(), adoptPtrWillBeNoop(supplement));
@@ -49,7 +47,7 @@ PaintWorklet* WindowPaintWorklet::paintWorklet(ExecutionContext* executionContex
DEFINE_TRACE(WindowPaintWorklet)
{
visitor->trace(m_paintWorklet);
- WillBeHeapSupplement<LocalDOMWindow>::trace(visitor);
+ HeapSupplement<LocalDOMWindow>::trace(visitor);
DOMWindowProperty::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698