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

Unified Diff: third_party/WebKit/Source/core/html/canvas/ImageElementBase.cpp

Issue 2849463005: Refactor ImageBuffer to make OffscreenCanvas match HTMLCanvasElement (Closed)
Patch Set: x Created 3 years, 8 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/ImageElementBase.cpp
diff --git a/third_party/WebKit/Source/core/html/canvas/ImageElementBase.cpp b/third_party/WebKit/Source/core/html/canvas/ImageElementBase.cpp
index e41aa9838d3d27f9d3ead329c14e783c8b24e958..0cd2059c0ccbedf5077abe49d9c23e4236475663 100644
--- a/third_party/WebKit/Source/core/html/canvas/ImageElementBase.cpp
+++ b/third_party/WebKit/Source/core/html/canvas/ImageElementBase.cpp
@@ -28,7 +28,7 @@ PassRefPtr<Image> ImageElementBase::GetSourceImageForCanvas(
SourceImageStatus* status,
AccelerationHint,
SnapshotReason,
- const FloatSize& default_object_size) const {
+ const FloatSize& default_object_size) {
if (!GetImageLoader().ImageComplete() || !CachedImage()) {
*status = kIncompleteSourceImageStatus;
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698