| 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..5da3199bae3be16c86076a0262e3e856357a6e7a 100644
|
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| @@ -61,12 +61,14 @@ 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
|
| - // context with any other type string will destroy any existing context.
|
| + // 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 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,
|
|
|