Skip to content

Commit

Permalink
review feedback: typedef -> using
Browse files Browse the repository at this point in the history
  • Loading branch information
flar committed Mar 1, 2023
1 parent 55feaae commit aee3de6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions display_list/display_list_canvas_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,10 @@ class BoundsTolerance {
SkScalar discrete_offset_ = 0;
};

typedef const std::function<void(SkCanvas*, SkPaint&)> SkSetup;
typedef const std::function<void(SkCanvas*, const SkPaint&)> SkRenderer;
typedef const std::function<void(DlCanvas*, DlPaint&)> DlSetup;
typedef const std::function<void(DlCanvas*, const DlPaint&)> DlRenderer;
using SkSetup = const std::function<void(SkCanvas*, SkPaint&)>;
using SkRenderer = const std::function<void(SkCanvas*, const SkPaint&)>;
using DlSetup = const std::function<void(DlCanvas*, DlPaint&)>;
using DlRenderer = const std::function<void(DlCanvas*, const DlPaint&)>;
static const SkSetup kEmptySkSetup = [](SkCanvas*, SkPaint&) {};
static const SkRenderer kEmptySkRenderer = [](SkCanvas*, const SkPaint&) {};
static const DlSetup kEmptyDlSetup = [](DlCanvas*, DlPaint&) {};
Expand Down

0 comments on commit aee3de6

Please sign in to comment.