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 192956 f2cf3e662305d62fe93c4367b192d7f02371a8d3
parent 192955 c6de66ddc937e3f6c29aea5728551e2cd9d21459
child 192957 39c47f6896b5ab48fa9f80259a53b24a8156db09
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
 }