Index: third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h |
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h |
index cd01cc4da5849a0966a30759f407ae57f6894a51..da05057866eac0ebac991bbf7bffffc261e390ef 100644 |
--- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h |
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h |
@@ -61,12 +61,16 @@ class CORE_EXPORT CanvasRenderingContext |
public: |
virtual ~CanvasRenderingContext() {} |
- // A Canvas can either be "2D" or "webgl" but never both. If you request a 2D canvas and the existing |
- // context is already 2D, just return that. If the existing context is WebGL, then destroy it |
- // before creating a new 2D context. Vice versa when requesting a WebGL canvas. Requesting a |
+ // A Canvas can either be "2D" or "webgl" but never both. If you request a 2D |
+ // canvas and the existing |
Justin Novosad
2016/10/03 18:13:11
More effort needed for this paragraph.
|
+ // context is already 2D, just return that. If the existing context is WebGL, |
+ // then destroy it |
+ // before creating a new 2D context. Vice versa when requesting a WebGL |
+ // canvas. Requesting a |
// context with any other type string will destroy any existing context. |
enum ContextType { |
- // Do not change assigned numbers of existing items: add new features to the end of the list. |
+ // Do not change assigned numbers of existing items: add new features to the |
+ // end of the list. |
Context2d = 0, |
ContextExperimentalWebgl = 2, |
ContextWebgl = 3, |