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

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

Issue 2425113002: Fix the linear-rgb canvas color space so that it renders (Closed)
Patch Set: Created 4 years, 2 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 6488ffc2c4748b53d420ea742c9a2e0772ac29f6..031dad8cd862d46ffd20ceb5b32782a9f8312361 100644
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
@@ -261,17 +261,14 @@ class CORE_EXPORT HTMLCanvasElement final : public HTMLElement,
std::unique_ptr<ImageBufferSurface> createWebGLImageBufferSurface(
const IntSize& deviceSize,
- OpacityMode,
- sk_sp<SkColorSpace>);
+ OpacityMode);
std::unique_ptr<ImageBufferSurface> createAcceleratedImageBufferSurface(
const IntSize& deviceSize,
OpacityMode,
- sk_sp<SkColorSpace>,
int* msaaSampleCount);
std::unique_ptr<ImageBufferSurface> createUnacceleratedImageBufferSurface(
const IntSize& deviceSize,
- OpacityMode,
- sk_sp<SkColorSpace>);
+ OpacityMode);
void createImageBuffer();
void createImageBufferInternal(
std::unique_ptr<ImageBufferSurface> externalSurface);

Powered by Google App Engine
This is Rietveld 408576698