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

Unified Diff: third_party/WebKit/Source/core/html/canvas/CanvasImageSource.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/CanvasImageSource.h
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasImageSource.h b/third_party/WebKit/Source/core/html/canvas/CanvasImageSource.h
index 38d4fd49e3e5e9393b38870473f390ab11ad2b6f..680aa0b3f5153c17d9d658140d207f20d4a6f7f3 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasImageSource.h
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasImageSource.h
@@ -38,9 +38,10 @@ class SecurityOrigin;
enum SourceImageStatus {
NormalSourceImageStatus,
- UndecodableSourceImageStatus, // Image element with a 'broken' image
- ZeroSizeCanvasSourceImageStatus, // Source is a canvas with width or heigh of zero
- IncompleteSourceImageStatus, // Image element with no source media
+ UndecodableSourceImageStatus, // Image element with a 'broken' image
+ ZeroSizeCanvasSourceImageStatus, // Source is a canvas with width or heigh of
+ // zero
+ IncompleteSourceImageStatus, // Image element with no source media
InvalidSourceImageStatus,
};
@@ -66,7 +67,8 @@ class CORE_EXPORT CanvasImageSource {
virtual bool isOffscreenCanvas() const { return false; }
// Adjusts the source and destination rectangles for cases where the actual
- // source image is a subregion of the image returned by getSourceImageForCanvas.
+ // source image is a subregion of the image returned by
+ // getSourceImageForCanvas.
virtual void adjustDrawRects(FloatRect* srcRect, FloatRect* dstRect) const {}
virtual FloatSize elementSize(const FloatSize& defaultObjectSize) const = 0;

Powered by Google App Engine
This is Rietveld 408576698