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

Unified Diff: sdk/lib/web_gl/dartium/web_gl_dartium.dart

Issue 300923003: Modify blink type map to finalize lazily (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Regenerate / merge Created 6 years, 6 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 | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | sdk/lib/web_sql/dartium/web_sql_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/web_gl/dartium/web_gl_dartium.dart
diff --git a/sdk/lib/web_gl/dartium/web_gl_dartium.dart b/sdk/lib/web_gl/dartium/web_gl_dartium.dart
index caddc818774d617643b721a732362730373a6583..f1ed131b4720df3c2036633dfdddc7d97200a13c 100644
--- a/sdk/lib/web_gl/dartium/web_gl_dartium.dart
+++ b/sdk/lib/web_gl/dartium/web_gl_dartium.dart
@@ -16,38 +16,38 @@ import 'dart:_blink' as _blink;
// FIXME: Can we make this private?
-const web_glBlinkMap = const {
- 'ANGLEInstancedArrays': AngleInstancedArrays,
- 'EXTFragDepth': ExtFragDepth,
- 'EXTTextureFilterAnisotropic': ExtTextureFilterAnisotropic,
- 'OESElementIndexUint': OesElementIndexUint,
- 'OESStandardDerivatives': OesStandardDerivatives,
- 'OESTextureFloat': OesTextureFloat,
- 'OESTextureFloatLinear': OesTextureFloatLinear,
- 'OESTextureHalfFloat': OesTextureHalfFloat,
- 'OESTextureHalfFloatLinear': OesTextureHalfFloatLinear,
- 'OESVertexArrayObject': OesVertexArrayObject,
- 'WebGLActiveInfo': ActiveInfo,
- 'WebGLBuffer': Buffer,
- 'WebGLCompressedTextureATC': CompressedTextureAtc,
- 'WebGLCompressedTexturePVRTC': CompressedTexturePvrtc,
- 'WebGLCompressedTextureS3TC': CompressedTextureS3TC,
- 'WebGLContextAttributes': ContextAttributes,
- 'WebGLContextEvent': ContextEvent,
- 'WebGLDebugRendererInfo': DebugRendererInfo,
- 'WebGLDebugShaders': DebugShaders,
- 'WebGLDepthTexture': DepthTexture,
- 'WebGLDrawBuffers': DrawBuffers,
- 'WebGLFramebuffer': Framebuffer,
- 'WebGLLoseContext': LoseContext,
- 'WebGLProgram': Program,
- 'WebGLRenderbuffer': Renderbuffer,
- 'WebGLRenderingContext': RenderingContext,
- 'WebGLShader': Shader,
- 'WebGLShaderPrecisionFormat': ShaderPrecisionFormat,
- 'WebGLTexture': Texture,
- 'WebGLUniformLocation': UniformLocation,
- 'WebGLVertexArrayObjectOES': VertexArrayObject,
+final web_glBlinkMap = {
+ 'ANGLEInstancedArrays': () => AngleInstancedArrays,
+ 'EXTFragDepth': () => ExtFragDepth,
+ 'EXTTextureFilterAnisotropic': () => ExtTextureFilterAnisotropic,
+ 'OESElementIndexUint': () => OesElementIndexUint,
+ 'OESStandardDerivatives': () => OesStandardDerivatives,
+ 'OESTextureFloat': () => OesTextureFloat,
+ 'OESTextureFloatLinear': () => OesTextureFloatLinear,
+ 'OESTextureHalfFloat': () => OesTextureHalfFloat,
+ 'OESTextureHalfFloatLinear': () => OesTextureHalfFloatLinear,
+ 'OESVertexArrayObject': () => OesVertexArrayObject,
+ 'WebGLActiveInfo': () => ActiveInfo,
+ 'WebGLBuffer': () => Buffer,
+ 'WebGLCompressedTextureATC': () => CompressedTextureAtc,
+ 'WebGLCompressedTexturePVRTC': () => CompressedTexturePvrtc,
+ 'WebGLCompressedTextureS3TC': () => CompressedTextureS3TC,
+ 'WebGLContextAttributes': () => ContextAttributes,
+ 'WebGLContextEvent': () => ContextEvent,
+ 'WebGLDebugRendererInfo': () => DebugRendererInfo,
+ 'WebGLDebugShaders': () => DebugShaders,
+ 'WebGLDepthTexture': () => DepthTexture,
+ 'WebGLDrawBuffers': () => DrawBuffers,
+ 'WebGLFramebuffer': () => Framebuffer,
+ 'WebGLLoseContext': () => LoseContext,
+ 'WebGLProgram': () => Program,
+ 'WebGLRenderbuffer': () => Renderbuffer,
+ 'WebGLRenderingContext': () => RenderingContext,
+ 'WebGLShader': () => Shader,
+ 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat,
+ 'WebGLTexture': () => Texture,
+ 'WebGLUniformLocation': () => UniformLocation,
+ 'WebGLVertexArrayObjectOES': () => VertexArrayObject,
};
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | sdk/lib/web_sql/dartium/web_sql_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698