summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/offscreencanvas/offscreen_canvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/offscreencanvas/offscreen_canvas.h')
-rw-r--r--chromium/third_party/blink/renderer/core/offscreencanvas/offscreen_canvas.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/core/offscreencanvas/offscreen_canvas.h b/chromium/third_party/blink/renderer/core/offscreencanvas/offscreen_canvas.h
index d017fa1d2c8..09a5e503f05 100644
--- a/chromium/third_party/blink/renderer/core/offscreencanvas/offscreen_canvas.h
+++ b/chromium/third_party/blink/renderer/core/offscreencanvas/offscreen_canvas.h
@@ -150,9 +150,7 @@ class CORE_EXPORT OffscreenCanvas final
scoped_refptr<Image> GetSourceImageForCanvas(SourceImageStatus*,
AccelerationHint,
const FloatSize&) final;
- bool WouldTaintOrigin(const SecurityOrigin*) const final {
- return !origin_clean_;
- }
+ bool WouldTaintOrigin() const final { return !origin_clean_; }
FloatSize ElementSize(const FloatSize& default_object_size) const final {
return FloatSize(width(), height());
}