Bug 1223434 - Fix Fennec's Java selection handles to work with the C++ APZ. r=kats

--HG--
extra : commitid : CbeuaLWQT1j
This commit is contained in:
Randall Barker 2015-11-10 12:01:35 -05:00
Родитель c253b6a1ac
Коммит 8f09c55656
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -930,7 +930,7 @@ class GeckoLayerClient implements LayerView.Listener, PanZoomTarget
ImmutableViewportMetrics viewportMetrics = mViewportMetrics; ImmutableViewportMetrics viewportMetrics = mViewportMetrics;
PointF origin = viewportMetrics.getOrigin(); PointF origin = viewportMetrics.getOrigin();
float zoom = viewportMetrics.zoomFactor; float zoom = viewportMetrics.zoomFactor;
ImmutableViewportMetrics geckoViewport = mGeckoViewport; ImmutableViewportMetrics geckoViewport = (AppConstants.MOZ_ANDROID_APZ ? mViewportMetrics : mGeckoViewport);
PointF geckoOrigin = geckoViewport.getOrigin(); PointF geckoOrigin = geckoViewport.getOrigin();
float geckoZoom = geckoViewport.zoomFactor; float geckoZoom = geckoViewport.zoomFactor;