Skip to content

Commit

Permalink
Fix spelling Ingore->Ignore (flutter#27225)
Browse files Browse the repository at this point in the history
  • Loading branch information
flar authored Jul 7, 2021
1 parent 57b9e8f commit 536ce0f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions flow/display_list_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
// This file contains various utility classes to ease implementing
// a Flutter DisplayList Dispatcher, including:
//
// IngoreAttributeDispatchHelper:
// IngoreClipDispatchHelper:
// IngoreTransformDispatchHelper
// IgnoreAttributeDispatchHelper:
// IgnoreClipDispatchHelper:
// IgnoreTransformDispatchHelper
// Empty overrides of all of the associated methods of Dispatcher
// for dispatchers that only track some of the rendering operations
//
Expand All @@ -37,7 +37,7 @@ namespace flutter {

// A utility class that will ignore all Dispatcher methods relating
// to the setting of attributes.
class IngoreAttributeDispatchHelper : public virtual Dispatcher {
class IgnoreAttributeDispatchHelper : public virtual Dispatcher {
public:
void setAA(bool aa) override {}
void setDither(bool dither) override {}
Expand All @@ -60,15 +60,15 @@ class IngoreAttributeDispatchHelper : public virtual Dispatcher {

// A utility class that will ignore all Dispatcher methods relating
// to setting a clip.
class IngoreClipDispatchHelper : public virtual Dispatcher {
class IgnoreClipDispatchHelper : public virtual Dispatcher {
void clipRect(const SkRect& rect, bool isAA, SkClipOp clip_op) override {}
void clipRRect(const SkRRect& rrect, bool isAA, SkClipOp clip_op) override {}
void clipPath(const SkPath& path, bool isAA, SkClipOp clip_op) override {}
};

// A utility class that will ignore all Dispatcher methods relating
// to modifying the transform.
class IngoreTransformDispatchHelper : public virtual Dispatcher {
class IgnoreTransformDispatchHelper : public virtual Dispatcher {
public:
void translate(SkScalar tx, SkScalar ty) override {}
void scale(SkScalar sx, SkScalar sy) override {}
Expand Down

0 comments on commit 536ce0f

Please sign in to comment.