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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.cc

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem Created 3 years, 11 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: chrome/browser/ui/views/location_bar/location_bar_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
index 6fa564c80ed6cf52220c34dac82c0389ce3cc1ed..3dd59cd1e489479e0b34de685252ef6a04d5d2a3 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -1137,11 +1137,11 @@ void LocationBarView::OnPaint(gfx::Canvas* canvas) {
View::OnPaint(canvas);
if (show_focus_rect_ && omnibox_view_->HasFocus()) {
- SkPaint paint;
+ cc::PaintFlags paint;
paint.setAntiAlias(true);
paint.setColor(GetNativeTheme()->GetSystemColor(
ui::NativeTheme::NativeTheme::kColorId_FocusedBorderColor));
- paint.setStyle(SkPaint::kStroke_Style);
+ paint.setStyle(cc::PaintFlags::kStroke_Style);
paint.setStrokeWidth(1);
gfx::RectF focus_rect(GetLocalBounds());
focus_rect.Inset(gfx::InsetsF(0.5f));

Powered by Google App Engine
This is Rietveld 408576698