| Index: sky/engine/core/html/canvas/WebGLRenderingContext.cpp
|
| diff --git a/sky/engine/core/html/canvas/WebGLRenderingContext.cpp b/sky/engine/core/html/canvas/WebGLRenderingContext.cpp
|
| index f64235f5e4940c5d5ff7e1dec92ee4123b3ed394..191a9a93ec7a2bec8b96cbf2cdfc3d36d6e0f0f9 100644
|
| --- a/sky/engine/core/html/canvas/WebGLRenderingContext.cpp
|
| +++ b/sky/engine/core/html/canvas/WebGLRenderingContext.cpp
|
| @@ -70,7 +70,7 @@ PassOwnPtr<WebGLRenderingContext> WebGLRenderingContext::create(HTMLCanvasElemen
|
| }
|
| Settings* settings = frame->settings();
|
|
|
| - // The only situation that attrs is null is through Document::getCSSCanvasContext().
|
| + // TODO(esprehn): This should never be null.
|
| RefPtr<WebGLContextAttributes> defaultAttrs = nullptr;
|
| if (!attrs) {
|
| defaultAttrs = WebGLContextAttributes::create();
|
|
|