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

Unified Diff: third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.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/csspaint/WindowPaintWorklet.cpp
diff --git a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp b/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp
index 0db67caf33593c06ff6fc5e50bcacda91a75502d..ad97908ac77b22ea62f12101cdfe105f76286dbb 100644
--- a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp
+++ b/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp
@@ -23,7 +23,7 @@ const char* WindowPaintWorklet::supplementName()
// static
WindowPaintWorklet& WindowPaintWorklet::from(LocalDOMWindow& window)
{
- WindowPaintWorklet* supplement = static_cast<WindowPaintWorklet*>(HeapSupplement<LocalDOMWindow>::from(window, supplementName()));
+ WindowPaintWorklet* supplement = static_cast<WindowPaintWorklet*>(Supplement<LocalDOMWindow>::from(window, supplementName()));
if (!supplement) {
supplement = new WindowPaintWorklet(window);
provideTo(window, supplementName(), supplement);
@@ -47,7 +47,7 @@ PaintWorklet* WindowPaintWorklet::paintWorklet(ExecutionContext* executionContex
DEFINE_TRACE(WindowPaintWorklet)
{
visitor->trace(m_paintWorklet);
- HeapSupplement<LocalDOMWindow>::trace(visitor);
+ Supplement<LocalDOMWindow>::trace(visitor);
DOMWindowProperty::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698