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

Unified Diff: ash/magnifier/partial_magnification_controller.cc

Issue 12816002: Make zoom filter independent of the layer size. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « no previous file | cc/render_pass.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/magnifier/partial_magnification_controller.cc
diff --git a/ash/magnifier/partial_magnification_controller.cc b/ash/magnifier/partial_magnification_controller.cc
index 30205112d931eac29166eba47e693c2d08d5db5e..1f46d51256eea52e6665a5fbd36ec4f68246989f 100644
--- a/ash/magnifier/partial_magnification_controller.cc
+++ b/ash/magnifier/partial_magnification_controller.cc
@@ -161,8 +161,6 @@ void PartialMagnificationController::CreateMagnifierWindow() {
kMagnifierWidth,
kMagnifierHeight));
zoom_widget_->GetNativeView()->layer()->SetBackgroundZoom(
- (kMagnifierWidth - (kMagnifierWidth / scale_)) / 2,
- (kMagnifierHeight - (kMagnifierHeight / scale_)) / 2,
scale_,
kZoomInset);
« no previous file with comments | « no previous file | cc/render_pass.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698