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 9adc5d673e15f1d5ce9f919d549248dede1102dc..de0d423258d971447938882f573cc9e49e86fd09 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 { |
+class ContextAttributes { |
bool alpha; |
bool antialias; |
bool depth; |
@@ -275,7 +275,7 @@ class _TypedContextAttributes { |
bool stencil; |
bool failIfMajorPerformanceCaveat; |
- _TypedContextAttributes(this.alpha, this.antialias, this.depth, |
+ ContextAttributes(this.alpha, this.antialias, this.depth, |
this.failIfMajorPerformanceCaveat, this.premultipliedAlpha, |
this.preserveDrawingBuffer, this.stencil); |
} |
@@ -284,7 +284,7 @@ convertNativeToDart_ContextAttributes(nativeContextAttributes) { |
// On Firefox the above test fails because ContextAttributes is a plain |
// object so we create a _TypedContextAttributes. |
- return new _TypedContextAttributes( |
+ return new ContextAttributes( |
JS('var', '#.alpha', nativeContextAttributes), |
JS('var', '#.antialias', nativeContextAttributes), |
JS('var', '#.depth', nativeContextAttributes), |