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

Unified Diff: ui/gfx/render_text_unittest.cc

Issue 2680943002: ui: Clean up naming of paint-related identifiers (Closed)
Patch Set: 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
« no previous file with comments | « ui/gfx/render_text.cc ('k') | ui/native_theme/common_theme.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text_unittest.cc
diff --git a/ui/gfx/render_text_unittest.cc b/ui/gfx/render_text_unittest.cc
index 7002801a3bd467ca0bd2aa27ac93708935fbb3d0..6c98376fcc89250f342ed584f8db5b36a4da2a9a 100644
--- a/ui/gfx/render_text_unittest.cc
+++ b/ui/gfx/render_text_unittest.cc
@@ -62,8 +62,9 @@ class RenderTextTestApi {
public:
RenderTextTestApi(RenderText* render_text) : render_text_(render_text) {}
- static SkPaint& GetRendererPaint(internal::SkiaTextRenderer* renderer) {
- return renderer->paint_;
+ static cc::PaintFlags& GetRendererPaint(
+ internal::SkiaTextRenderer* renderer) {
+ return renderer->flags_;
}
// Callers should ensure that the associated RenderText object is a
@@ -443,7 +444,7 @@ class RenderTextTest : public testing::Test,
return nullptr;
}
- SkPaint& GetRendererPaint() {
+ cc::PaintFlags& GetRendererPaint() {
return test::RenderTextTestApi::GetRendererPaint(renderer());
}
« no previous file with comments | « ui/gfx/render_text.cc ('k') | ui/native_theme/common_theme.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698