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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutScrollbarTheme.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/layout/LayoutScrollbarTheme.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutScrollbarTheme.cpp b/third_party/WebKit/Source/core/layout/LayoutScrollbarTheme.cpp
index c5aa099180b144ca601aee89f397e0cec730a07a..604330fb7224ac1dbea31180f6e18e73646b2c30 100644
--- a/third_party/WebKit/Source/core/layout/LayoutScrollbarTheme.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutScrollbarTheme.cpp
@@ -112,10 +112,10 @@ IntRect LayoutScrollbarTheme::constrainTrackRectToTrackPieces(const ScrollbarThe
void LayoutScrollbarTheme::paintScrollCorner(GraphicsContext& context, const DisplayItemClient& displayItemClient, const IntRect& cornerRect)
{
- if (DrawingRecorder::useCachedDrawingIfPossible(context, displayItemClient, DisplayItem::ScrollbarCorner))
+ if (DrawingRecorder::useCachedDrawingIfPossible(context, displayItemClient, DisplayItem::kScrollbarCorner))
return;
- DrawingRecorder recorder(context, displayItemClient, DisplayItem::ScrollbarCorner, cornerRect);
+ DrawingRecorder recorder(context, displayItemClient, DisplayItem::kScrollbarCorner, cornerRect);
// FIXME: Implement.
context.fillRect(cornerRect, Color::white);
}

Powered by Google App Engine
This is Rietveld 408576698