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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.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/platform/scroll/ScrollbarThemeAura.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp
index 490cd52c305066dd13695871ac970218c77ea991..c0f926cb81605c5d2c9cbc6b22f60772059c9fb8 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp
@@ -223,10 +223,10 @@ void ScrollbarThemeAura::paintTickmarks(GraphicsContext& context, const Scrollba
if (!tickmarks.size())
return;
- if (DrawingRecorder::useCachedDrawingIfPossible(context, scrollbar, DisplayItem::ScrollbarTickmarks))
+ if (DrawingRecorder::useCachedDrawingIfPossible(context, scrollbar, DisplayItem::kScrollbarTickmarks))
return;
- DrawingRecorder recorder(context, scrollbar, DisplayItem::ScrollbarTickmarks, rect);
+ DrawingRecorder recorder(context, scrollbar, DisplayItem::kScrollbarTickmarks, rect);
GraphicsContextStateSaver stateSaver(context);
context.setShouldAntialias(false);
@@ -289,10 +289,10 @@ void ScrollbarThemeAura::paintButton(GraphicsContext& gc, const Scrollbar& scrol
void ScrollbarThemeAura::paintThumb(GraphicsContext& gc, const Scrollbar& scrollbar, const IntRect& rect)
{
- if (DrawingRecorder::useCachedDrawingIfPossible(gc, scrollbar, DisplayItem::ScrollbarThumb))
+ if (DrawingRecorder::useCachedDrawingIfPossible(gc, scrollbar, DisplayItem::kScrollbarThumb))
return;
- DrawingRecorder recorder(gc, scrollbar, DisplayItem::ScrollbarThumb, rect);
+ DrawingRecorder recorder(gc, scrollbar, DisplayItem::kScrollbarThumb, rect);
WebThemeEngine::State state;
WebCanvas* canvas = gc.canvas();

Powered by Google App Engine
This is Rietveld 408576698