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

Unified Diff: ash/magnifier/partial_magnification_controller.cc

Issue 2733363002: Update last few users of deprecated CreateShadowDrawLooper and remove (Closed)
Patch Set: Created 3 years, 9 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: ash/magnifier/partial_magnification_controller.cc
diff --git a/ash/magnifier/partial_magnification_controller.cc b/ash/magnifier/partial_magnification_controller.cc
index 3cbedb8aa8391ff937ef6b133948105c528619cf..fd9e04e7ef0a588d062e03d5df09a56de1f97e0f 100644
--- a/ash/magnifier/partial_magnification_controller.cc
+++ b/ash/magnifier/partial_magnification_controller.cc
@@ -162,8 +162,7 @@ class PartialMagnificationController::BorderRenderer
cc::PaintFlags shadow_flags;
shadow_flags.setAntiAlias(true);
shadow_flags.setColor(SK_ColorTRANSPARENT);
- shadow_flags.setLooper(
- gfx::CreateShadowDrawLooperCorrectBlur(magnifier_shadows_));
+ shadow_flags.setLooper(gfx::CreateShadowDrawLooper(magnifier_shadows_));
gfx::Rect shadow_bounds(magnifier_window_bounds_.size());
recorder.canvas()->DrawCircle(
shadow_bounds.CenterPoint(),
« no previous file with comments | « ash/common/system/tray/tray_details_view.cc ('k') | chrome/browser/ui/views/message_center/message_center_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698