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

Unified Diff: third_party/WebKit/Source/core/dom/TouchInit.idl

Issue 2342393002: Enable TypeError for dictionary members of non-nullable interface type (Closed)
Patch Set: 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/dom/TouchInit.idl
diff --git a/third_party/WebKit/Source/core/dom/TouchInit.idl b/third_party/WebKit/Source/core/dom/TouchInit.idl
index 2ae7f0f6f415162720d26d65e5c7438f9d8b4d28..70ef72137507f9ca5a393b43b5cadae8a8cceffe 100644
--- a/third_party/WebKit/Source/core/dom/TouchInit.idl
+++ b/third_party/WebKit/Source/core/dom/TouchInit.idl
@@ -6,7 +6,8 @@
dictionary TouchInit {
required long identifier;
- required EventTarget target;
+ // TODO(foolip): |target| should not be nullable. https://crbug.com/647693
+ required EventTarget? target;
double clientX = 0;
double clientY = 0;
double screenX = 0;

Powered by Google App Engine
This is Rietveld 408576698