Bug 989054 - Remove some dead and now incorrect code. r=botond, a=lsblakk
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 10 Apr 2014 03:15:09 -0400
changeset 193016 86d484d7fc28a8a86cc8f9395d48cb640a983585
parent 193015 65a7823d69dff23f8df658457197b3fc02d643e0
child 193017 633c0420e98fe913ade1977bf94e558d1ca6682c
push id474
push userasasaki@mozilla.com
push dateMon, 02 Jun 2014 21:01:02 +0000
treeherdermozilla-release@967f4cf1b31c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbotond, lsblakk
bugs989054
milestone30.0a2
Bug 989054 - Remove some dead and now incorrect code. r=botond, a=lsblakk
widget/android/AndroidBridge.cpp
--- a/widget/android/AndroidBridge.cpp
+++ b/widget/android/AndroidBridge.cpp
@@ -1875,20 +1875,17 @@ AndroidBridge::SetNativePanZoomControlle
     return old;
 }
 
 void
 AndroidBridge::RequestContentRepaint(const mozilla::layers::FrameMetrics& aFrameMetrics)
 {
     ALOG_BRIDGE("AndroidBridge::RequestContentRepaint");
 
-    CSSToScreenScale resolution = aFrameMetrics.GetZoom();
-    ScreenRect dp = (aFrameMetrics.mDisplayPort + aFrameMetrics.GetScrollOffset()) * resolution;
-
-    mNativePanZoomController->RequestContentRepaintWrapper(dp.x, dp.y, dp.width, dp.height, resolution.scale);
+    // FIXME implement this
 }
 
 void
 AndroidBridge::AcknowledgeScrollUpdate(const mozilla::layers::FrameMetrics::ViewID& aScrollId,
                                        const uint32_t& aScrollGeneration)
 {
     // FIXME implement this
 }