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

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.cc

Issue 1053143002: Make View::Paint use ui::PaintRecorder to access PaintContext's canvas (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: paintrecorder: . Created 5 years, 9 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/autofill/autofill_dialog_views.cc
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
index b20b30911d452f3caf68a4db1dd74413970e9644..9cf5762225aeb28e804ca84e1244bca31950ee01 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
@@ -30,6 +30,7 @@
#include "ui/base/models/combobox_model.h"
#include "ui/base/models/menu_model.h"
#include "ui/base/resource/resource_bundle.h"
+#include "ui/compositor/paint_context.h"
#include "ui/events/event_handler.h"
#include "ui/gfx/animation/animation_delegate.h"
#include "ui/gfx/canvas.h"
@@ -753,7 +754,7 @@ const char* AutofillDialogViews::NotificationArea::GetClassName() const {
}
void AutofillDialogViews::NotificationArea::PaintChildren(
- const PaintContext& context) {
+ const ui::PaintContext& context) {
views::View::PaintChildren(context);
gfx::Canvas* canvas = context.canvas();
if (HasArrow()) {

Powered by Google App Engine
This is Rietveld 408576698