| Index: third_party/WebKit/Source/modules/csspaint/DOMWindowPaintWorklet.cpp
 | 
| diff --git a/third_party/WebKit/Source/modules/worklet/DOMWindowWorklet.cpp b/third_party/WebKit/Source/modules/csspaint/DOMWindowPaintWorklet.cpp
 | 
| similarity index 35%
 | 
| rename from third_party/WebKit/Source/modules/worklet/DOMWindowWorklet.cpp
 | 
| rename to third_party/WebKit/Source/modules/csspaint/DOMWindowPaintWorklet.cpp
 | 
| index 07a4a32dba258e9ae7e023b52444318eb4160942..cfdbd6c018e8d4d74c80887e3458b840841ca773 100644
 | 
| --- a/third_party/WebKit/Source/modules/worklet/DOMWindowWorklet.cpp
 | 
| +++ b/third_party/WebKit/Source/modules/csspaint/DOMWindowPaintWorklet.cpp
 | 
| @@ -2,53 +2,53 @@
 | 
|  // Use of this source code is governed by a BSD-style license that can be
 | 
|  // found in the LICENSE file.
 | 
|  
 | 
| -#include "modules/worklet/DOMWindowWorklet.h"
 | 
| +#include "modules/csspaint/DOMWindowPaintWorklet.h"
 | 
|  
 | 
|  #include "core/frame/LocalDOMWindow.h"
 | 
|  #include "core/frame/LocalFrame.h"
 | 
| -#include "modules/worklet/Worklet.h"
 | 
| +#include "modules/csspaint/PaintWorklet.h"
 | 
|  
 | 
|  namespace blink {
 | 
|  
 | 
| -DOMWindowWorklet::DOMWindowWorklet(LocalDOMWindow& window)
 | 
| +DOMWindowPaintWorklet::DOMWindowPaintWorklet(LocalDOMWindow& window)
 | 
|      : DOMWindowProperty(window.frame())
 | 
|  {
 | 
|  }
 | 
|  
 | 
| -DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DOMWindowWorklet);
 | 
| +DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DOMWindowPaintWorklet);
 | 
|  
 | 
| -const char* DOMWindowWorklet::supplementName()
 | 
| +const char* DOMWindowPaintWorklet::supplementName()
 | 
|  {
 | 
| -    return "DOMWindowWorklet";
 | 
| +    return "DOMWindowPaintWorklet";
 | 
|  }
 | 
|  
 | 
|  // static
 | 
| -DOMWindowWorklet& DOMWindowWorklet::from(LocalDOMWindow& window)
 | 
| +DOMWindowPaintWorklet& DOMWindowPaintWorklet::from(LocalDOMWindow& window)
 | 
|  {
 | 
| -    DOMWindowWorklet* supplement = static_cast<DOMWindowWorklet*>(WillBeHeapSupplement<LocalDOMWindow>::from(window, supplementName()));
 | 
| +    DOMWindowPaintWorklet* supplement = static_cast<DOMWindowPaintWorklet*>(WillBeHeapSupplement<LocalDOMWindow>::from(window, supplementName()));
 | 
|      if (!supplement) {
 | 
| -        supplement = new DOMWindowWorklet(window);
 | 
| +        supplement = new DOMWindowPaintWorklet(window);
 | 
|          provideTo(window, supplementName(), adoptPtrWillBeNoop(supplement));
 | 
|      }
 | 
|      return *supplement;
 | 
|  }
 | 
|  
 | 
|  // static
 | 
| -Worklet* DOMWindowWorklet::renderWorklet(ExecutionContext* executionContext, DOMWindow& window)
 | 
| +Worklet* DOMWindowPaintWorklet::paintWorklet(ExecutionContext* executionContext, DOMWindow& window)
 | 
|  {
 | 
| -    return from(toLocalDOMWindow(window)).renderWorklet(executionContext);
 | 
| +    return from(toLocalDOMWindow(window)).paintWorklet(executionContext);
 | 
|  }
 | 
|  
 | 
| -Worklet* DOMWindowWorklet::renderWorklet(ExecutionContext* executionContext) const
 | 
| +PaintWorklet* DOMWindowPaintWorklet::paintWorklet(ExecutionContext* executionContext) const
 | 
|  {
 | 
| -    if (!m_renderWorklet && frame())
 | 
| -        m_renderWorklet = Worklet::create(frame(), executionContext);
 | 
| -    return m_renderWorklet.get();
 | 
| +    if (!m_paintWorklet && frame())
 | 
| +        m_paintWorklet = PaintWorklet::create(frame(), executionContext);
 | 
| +    return m_paintWorklet.get();
 | 
|  }
 | 
|  
 | 
| -DEFINE_TRACE(DOMWindowWorklet)
 | 
| +DEFINE_TRACE(DOMWindowPaintWorklet)
 | 
|  {
 | 
| -    visitor->trace(m_renderWorklet);
 | 
| +    visitor->trace(m_paintWorklet);
 | 
|      WillBeHeapSupplement<LocalDOMWindow>::trace(visitor);
 | 
|      DOMWindowProperty::trace(visitor);
 | 
|  }
 | 
| 
 |