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

Unified Diff: third_party/WebKit/Source/core/paint/ImagePainter.cpp

Issue 2286843002: Rename DisplayItem::Type enum constants to Chromium style. (Closed)
Patch Set: Rebasing... Created 4 years, 4 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: third_party/WebKit/Source/core/paint/ImagePainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/ImagePainter.cpp b/third_party/WebKit/Source/core/paint/ImagePainter.cpp
index ad19b3f9346c16a9407c684dcfa26a1d0087a3f1..2ede11526461f9984fe432c715c344e9c7d162d6 100644
--- a/third_party/WebKit/Source/core/paint/ImagePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/ImagePainter.cpp
@@ -61,12 +61,12 @@ void ImagePainter::paintAreaElementFocusRing(const PaintInfo& paintInfo, const L
adjustedPaintOffset.moveBy(m_layoutImage.location());
path.translate(FloatSize(adjustedPaintOffset.x(), adjustedPaintOffset.y()));
- if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(paintInfo.context, m_layoutImage, DisplayItem::ImageAreaFocusRing))
+ if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(paintInfo.context, m_layoutImage, DisplayItem::kImageAreaFocusRing))
return;
LayoutRect focusRect = m_layoutImage.contentBoxRect();
focusRect.moveBy(adjustedPaintOffset);
- LayoutObjectDrawingRecorder drawingRecorder(paintInfo.context, m_layoutImage, DisplayItem::ImageAreaFocusRing, focusRect);
+ LayoutObjectDrawingRecorder drawingRecorder(paintInfo.context, m_layoutImage, DisplayItem::kImageAreaFocusRing, focusRect);
// FIXME: Clip path instead of context when Skia pathops is ready.
// https://crbug.com/251206

Powered by Google App Engine
This is Rietveld 408576698