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

Unified Diff: third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp

Issue 2602253002: Fixed WebglRenderingContextBase toImageData (Closed)
Patch Set: fix error Created 3 years, 12 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/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp
diff --git a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp
index 969e1d2f044111ed792b92e087fcddc902cef016..96a32d1ac2837cb9f0814b66e3be184e101bf34a 100644
--- a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp
+++ b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp
@@ -173,7 +173,7 @@ PassRefPtr<Image> OffscreenCanvasRenderingContext2D::getImage(
}
ImageData* OffscreenCanvasRenderingContext2D::toImageData(
- SnapshotReason reason) const {
+ SnapshotReason reason) {
if (!imageBuffer())
return nullptr;
sk_sp<SkImage> snapshot =

Powered by Google App Engine
This is Rietveld 408576698