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

Unified Diff: third_party/WebKit/Source/core/html/HTMLCanvasElement.h

Issue 2557783002: Improve metrics for display list canvas fallback reason (Closed)
Patch Set: Created 4 years 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/HTMLCanvasElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
index aed0212605b760d3286854a99cfb79ae4f0fd639..41dedd92df52483a2285fbc11473ef26c380cbf2 100644
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
@@ -143,7 +143,9 @@ class CORE_EXPORT HTMLCanvasElement final : public HTMLElement,
void ensureUnacceleratedImageBuffer();
ImageBuffer* buffer() const;
- PassRefPtr<Image> copiedImage(SourceDrawingBuffer, AccelerationHint) const;
+ PassRefPtr<Image> copiedImage(SourceDrawingBuffer,
+ AccelerationHint,
+ SnapshotReason) const;
void clearCopiedImage();
SecurityOrigin* getSecurityOrigin() const;
« no previous file with comments | « third_party/WebKit/Source/core/frame/ImageBitmap.cpp ('k') | third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698