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

Unified Diff: sky/engine/core/html/canvas/WebGLRenderingContext.cpp

Issue 876913002: Remove CSSCanvas values. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/engine/core/html/HTMLCanvasElement.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « sky/engine/core/html/HTMLCanvasElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698