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

Unified Diff: third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp

Issue 2630703002: Rename Supplement::host() to Supplement::supplementable() (Closed)
Patch Set: temp Created 3 years, 11 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 63d4a4a9dd2ed95dcae31741720c37674aecd8c9..3e4e7db20e971c7f5425d19f2174354966400b0a 100644
--- a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp
+++ b/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp
@@ -34,8 +34,8 @@ Worklet* WindowPaintWorklet::paintWorklet(DOMWindow& window) {
}
PaintWorklet* WindowPaintWorklet::paintWorklet() {
- if (!m_paintWorklet && host()->frame())
- m_paintWorklet = PaintWorklet::create(host()->frame());
+ if (!m_paintWorklet && supplementable()->frame())
+ m_paintWorklet = PaintWorklet::create(supplementable()->frame());
return m_paintWorklet.get();
}

Powered by Google App Engine
This is Rietveld 408576698