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

Unified Diff: third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h

Issue 2330553002: Disallow resizing on OffscreenCanvas that has been transferred control from canvas (Closed)
Patch Set: test Created 4 years, 3 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/core/offscreencanvas/OffscreenCanvas.h
diff --git a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
index 5e6dd8b2fd0a5f897457132cf511c53ab0c04cb8..c303aaed41b88b7aab5ce44adcbbfd909c34d234 100644
--- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
+++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
@@ -30,8 +30,8 @@ public:
// IDL attributes
unsigned width() const { return m_size.width(); }
unsigned height() const { return m_size.height(); }
- void setWidth(unsigned);
- void setHeight(unsigned);
+ void setWidth(unsigned, ExceptionState&);
+ void setHeight(unsigned, ExceptionState&);
// API Methods
ImageBitmap* transferToImageBitmap(ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698