| 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;
|
|
|