Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit aee3de6

Browse files
committed
review feedback: typedef -> using
1 parent 55feaae commit aee3de6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

display_list/display_list_canvas_unittests.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,10 @@ class BoundsTolerance {
254254
SkScalar discrete_offset_ = 0;
255255
};
256256

257-
typedef const std::function<void(SkCanvas*, SkPaint&)> SkSetup;
258-
typedef const std::function<void(SkCanvas*, const SkPaint&)> SkRenderer;
259-
typedef const std::function<void(DlCanvas*, DlPaint&)> DlSetup;
260-
typedef const std::function<void(DlCanvas*, const DlPaint&)> DlRenderer;
257+
using SkSetup = const std::function<void(SkCanvas*, SkPaint&)>;
258+
using SkRenderer = const std::function<void(SkCanvas*, const SkPaint&)>;
259+
using DlSetup = const std::function<void(DlCanvas*, DlPaint&)>;
260+
using DlRenderer = const std::function<void(DlCanvas*, const DlPaint&)>;
261261
static const SkSetup kEmptySkSetup = [](SkCanvas*, SkPaint&) {};
262262
static const SkRenderer kEmptySkRenderer = [](SkCanvas*, const SkPaint&) {};
263263
static const DlSetup kEmptyDlSetup = [](DlCanvas*, DlPaint&) {};

0 commit comments

Comments
 (0)