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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/GraphicsContextState.h

Issue 1829093002: Use sk_sp-based APIs for SkColorFilter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to reviews Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright (C) 2013 Google Inc. All rights reserved. 1 // Copyright (C) 2013 Google Inc. All rights reserved.
2 // 2 //
3 // Redistribution and use in source and binary forms, with or without 3 // Redistribution and use in source and binary forms, with or without
4 // modification, are permitted provided that the following conditions are 4 // modification, are permitted provided that the following conditions are
5 // met: 5 // met:
6 // 6 //
7 // * Redistributions of source code must retain the above copyright 7 // * Redistributions of source code must retain the above copyright
8 // notice, this list of conditions and the following disclaimer. 8 // notice, this list of conditions and the following disclaimer.
9 // * Redistributions in binary form must reproduce the above 9 // * Redistributions in binary form must reproduce the above
10 // copyright notice, this list of conditions and the following disclaimer 10 // copyright notice, this list of conditions and the following disclaimer
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 Color m_strokeColor; 123 Color m_strokeColor;
124 RefPtr<Gradient> m_strokeGradient; 124 RefPtr<Gradient> m_strokeGradient;
125 125
126 Color m_fillColor; 126 Color m_fillColor;
127 RefPtr<Gradient> m_fillGradient; 127 RefPtr<Gradient> m_fillGradient;
128 128
129 RefPtr<SkDrawLooper> m_looper; 129 RefPtr<SkDrawLooper> m_looper;
130 130
131 TextDrawingModeFlags m_textDrawingMode; 131 TextDrawingModeFlags m_textDrawingMode;
132 132
133 RefPtr<SkColorFilter> m_colorFilter; 133 sk_sp<SkColorFilter> m_colorFilter;
134 134
135 InterpolationQuality m_interpolationQuality; 135 InterpolationQuality m_interpolationQuality;
136 136
137 uint16_t m_saveCount; 137 uint16_t m_saveCount;
138 138
139 bool m_shouldAntialias : 1; 139 bool m_shouldAntialias : 1;
140 }; 140 };
141 141
142 } // namespace blink 142 } // namespace blink
143 143
144 #endif // GraphicsContextState_h 144 #endif // GraphicsContextState_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698