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

Unified Diff: third_party/WebKit/Source/core/page/DragController.cpp

Issue 2899633002: Make EImageRendering an enum class. (Closed)
Patch Set: Rebase Created 3 years, 7 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/page/DragController.cpp
diff --git a/third_party/WebKit/Source/core/page/DragController.cpp b/third_party/WebKit/Source/core/page/DragController.cpp
index 8d4750d96ddbe8998be606acf1f10a699bcead2a..f32ac8e79dda4848632c98f4d03e3571e6013d3a 100644
--- a/third_party/WebKit/Source/core/page/DragController.cpp
+++ b/third_party/WebKit/Source/core/page/DragController.cpp
@@ -1018,7 +1018,7 @@ static std::unique_ptr<DragImage> DragImageForImage(
InterpolationQuality interpolation_quality =
element->EnsureComputedStyle()->ImageRendering() ==
- kImageRenderingPixelated
+ EImageRendering::kPixelated
? kInterpolationNone
: kInterpolationHigh;
RespectImageOrientationEnum should_respect_image_orientation =

Powered by Google App Engine
This is Rietveld 408576698