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

Unified Diff: third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h

Issue 2387093002: Reflow comments in canvas-related folders (Closed)
Patch Set: More fix Created 4 years, 2 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
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,

Powered by Google App Engine
This is Rietveld 408576698