Index: third_party/WebKit/Source/core/paint/HTMLCanvasPaintInvalidator.cpp |
diff --git a/third_party/WebKit/Source/core/paint/HTMLCanvasPaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/HTMLCanvasPaintInvalidator.cpp |
index 2b50d3a2ede74225616ce0ee1384a967aeb31202..a1b6443ca437d32c6bf975e0d262f403c74acdf8 100644 |
--- a/third_party/WebKit/Source/core/paint/HTMLCanvasPaintInvalidator.cpp |
+++ b/third_party/WebKit/Source/core/paint/HTMLCanvasPaintInvalidator.cpp |
@@ -18,8 +18,8 @@ PaintInvalidationReason HTMLCanvasPaintInvalidator::InvalidatePaint() { |
HTMLCanvasElement* element = toHTMLCanvasElement(html_canvas_.GetNode()); |
if (element->IsDirty()) { |
element->DoDeferredPaintInvalidation(); |
- if (reason < kPaintInvalidationRectangle) |
- reason = kPaintInvalidationRectangle; |
+ if (reason < PaintInvalidationReason::kRectangle) |
+ reason = PaintInvalidationReason::kRectangle; |
} |
return reason; |