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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsContext.h

Issue 2712083002: color: Remove blink pre-conversion code (Closed)
Patch Set: Rebase Created 3 years, 10 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/platform/graphics/GraphicsContext.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContext.h b/third_party/WebKit/Source/platform/graphics/GraphicsContext.h
index 372e6fdeb3178800a65eb6dae3a268c0d03652d5..3c164c746c9a52cb2cf0974cf5c6f17fd1b87ae9 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.h
@@ -70,11 +70,9 @@ class PLATFORM_EXPORT GraphicsContext {
// the context from performance tests.
};
- explicit GraphicsContext(
- PaintController&,
- DisabledMode = NothingDisabled,
- SkMetaData* = 0,
- ColorBehavior = ColorBehavior::transformToGlobalTarget());
+ explicit GraphicsContext(PaintController&,
+ DisabledMode = NothingDisabled,
+ SkMetaData* = 0);
~GraphicsContext();
@@ -82,7 +80,6 @@ class PLATFORM_EXPORT GraphicsContext {
const PaintCanvas* canvas() const { return m_canvas; }
PaintController& getPaintController() { return m_paintController; }
- const ColorBehavior& getColorBehavior() const { return m_colorBehavior; }
bool contextDisabled() const { return m_disabledState; }
@@ -436,8 +433,6 @@ class PLATFORM_EXPORT GraphicsContext {
SkMetaData m_metaData;
- const ColorBehavior m_colorBehavior;
-
#if DCHECK_IS_ON()
int m_layerCount;
bool m_disableDestructionChecks;

Powered by Google App Engine
This is Rietveld 408576698