Index: dm/DMSrcSinkAndroid.cpp |
diff --git a/dm/DMSrcSinkAndroid.cpp b/dm/DMSrcSinkAndroid.cpp |
index 43d965b9af050997b9c5a7c727e727e2655c1986..36817e18e19efede1199ff1a52a17ad605a4bdf5 100644 |
--- a/dm/DMSrcSinkAndroid.cpp |
+++ b/dm/DMSrcSinkAndroid.cpp |
@@ -294,9 +294,8 @@ Error HWUISink::draw(const Src& src, SkBitmap* dst, SkWStream*, SkString*) const |
proxy->initialize(surface.get()); |
float lightX = size.width() / 2.0f; |
- android::uirenderer::Vector3 lightVector { lightX, dp(-200.0f), dp(800.0f) }; |
- proxy->setup(size.width(), size.height(), lightVector, dp(800.0f), 255 * 0.075f, 255 * 0.15f, |
- kDensity); |
+ android::uirenderer::Vector3 lightVector { lightX, -200.0f, 800.0f }; |
+ proxy->setup(size.width(), size.height(), lightVector, 800.0f, 255 * 0.075f, 255 * 0.15f); |
// Do the draw |