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

Unified Diff: lib/runtime/dart/web_gl.js

Issue 1887233005: Fix all dart:html strong mode errors except for spurious FINAL_NOT_INITIALIZED_CONSTRUCTOR warnings. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 8 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: lib/runtime/dart/web_gl.js
diff --git a/lib/runtime/dart/web_gl.js b/lib/runtime/dart/web_gl.js
index 67aa8109fe61ad2e2062a14864e28cda2046cc04..21a6dd84d944491ebbafed8739b5b3c9489a38c0 100644
--- a/lib/runtime/dart/web_gl.js
+++ b/lib/runtime/dart/web_gl.js
@@ -387,7 +387,7 @@ dart_library.library('dart/web_gl', null, /* Imports */[
return this.getBufferParameter(target, pname);
}
[dartx.getContextAttributes]() {
- return html_common.convertNativeToDart_ContextAttributes(this[_getContextAttributes_1]());
+ return dart.as(html_common.convertNativeToDart_ContextAttributes(this[_getContextAttributes_1]()), ContextAttributes);
}
[_getContextAttributes_1]() {
return this.getContextAttributes();

Powered by Google App Engine
This is Rietveld 408576698