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

Unified Diff: sdk/lib/html/html_common/conversions.dart

Issue 1720823003: Fixed a few problems with 45 roll merge (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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 | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/html_common/conversions.dart
diff --git a/sdk/lib/html/html_common/conversions.dart b/sdk/lib/html/html_common/conversions.dart
index 0dca4d3f0814a4636009c64959af75f194506212..9adc5d673e15f1d5ce9f919d549248dede1102dc 100644
--- a/sdk/lib/html/html_common/conversions.dart
+++ b/sdk/lib/html/html_common/conversions.dart
@@ -266,7 +266,7 @@ abstract class _AcceptStructuredClone {
// Conversions for ContextAttributes.
//
// On Firefox, the returned ContextAttributes is a plain object.
-class _TypedContextAttributes implements gl.ContextAttributes {
+class _TypedContextAttributes {
bool alpha;
bool antialias;
bool depth;
@@ -280,12 +280,7 @@ class _TypedContextAttributes implements gl.ContextAttributes {
this.preserveDrawingBuffer, this.stencil);
}
-gl.ContextAttributes convertNativeToDart_ContextAttributes(
- nativeContextAttributes) {
- if (nativeContextAttributes is gl.ContextAttributes) {
- return nativeContextAttributes;
- }
-
+convertNativeToDart_ContextAttributes(nativeContextAttributes) {
// On Firefox the above test fails because ContextAttributes is a plain
// object so we create a _TypedContextAttributes.
« no previous file with comments | « no previous file | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698