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

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

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/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 e6a3d891690dac78be7e67d2e3f819c4864500dc..7aa08157f07768500b08bc2b83ff063010c057a1 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
@@ -92,9 +92,7 @@ class CORE_EXPORT CanvasRenderingContext
virtual PassRefPtr<Image> getImage(AccelerationHint,
SnapshotReason) const = 0;
- virtual ImageData* toImageData(SnapshotReason reason) const {
- return nullptr;
- }
+ virtual ImageData* toImageData(SnapshotReason reason) { return nullptr; }
virtual ContextType getContextType() const = 0;
virtual bool isAccelerated() const { return false; }
virtual bool shouldAntialias() const { return false; }

Powered by Google App Engine
This is Rietveld 408576698