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 191991 86d484d7fc28a8a86cc8f9395d48cb640a983585
parent 191990 65a7823d69dff23f8df658457197b3fc02d643e0
child 191992 633c0420e98fe913ade1977bf94e558d1ca6682c
push id3503
push userraliiev@mozilla.com
push dateMon, 28 Apr 2014 18:51:11 +0000
treeherdermozilla-beta@c95ac01e332e [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
 }