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

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

Issue 2193103002: [worklets] Change paintWorklet method to non-const to remove mutable member. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.h
diff --git a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.h b/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.h
index 404ec0330f6ca96d58ad2bf0aa19a5a203c725b9..a74b5623497d5c2e1e40305babbb1b334016d303 100644
--- a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.h
+++ b/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.h
@@ -22,7 +22,7 @@ class MODULES_EXPORT WindowPaintWorklet final : public GarbageCollected<WindowPa
public:
static WindowPaintWorklet& from(LocalDOMWindow&);
static Worklet* paintWorklet(ExecutionContext*, DOMWindow&);
- PaintWorklet* paintWorklet(ExecutionContext*) const;
+ PaintWorklet* paintWorklet(ExecutionContext*);
DECLARE_TRACE();
@@ -30,7 +30,7 @@ private:
explicit WindowPaintWorklet(LocalDOMWindow&);
static const char* supplementName();
- mutable Member<PaintWorklet> m_paintWorklet;
+ Member<PaintWorklet> m_paintWorklet;
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698