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

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

Issue 2212163002: Add some plumbing for the color management of canvases (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 4 years, 4 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/HTMLCanvasElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
index 9e819a64f765258d4cbd53c94cb1a9436b8050c7..74346e8fb519732fe0e55d786f2ac412f3a9888b 100644
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
@@ -50,6 +50,8 @@
#define CanvasDefaultInterpolationQuality InterpolationLow
+class SkColorSpace;
+
namespace blink {
class AffineTransform;
@@ -228,7 +230,7 @@ private:
void reset();
- std::unique_ptr<ImageBufferSurface> createImageBufferSurface(const IntSize& deviceSize, int* msaaSampleCount);
+ std::unique_ptr<ImageBufferSurface> createImageBufferSurface(const IntSize& deviceSize, int* msaaSampleCount, sk_sp<SkColorSpace>);
void createImageBuffer();
void createImageBufferInternal(std::unique_ptr<ImageBufferSurface> externalSurface);
bool shouldUseDisplayList(const IntSize& deviceSize);

Powered by Google App Engine
This is Rietveld 408576698