Bug 989054 - Update winrt APZController.cpp to dump the displayport margins. r=botond, a=lsblakk
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 10 Apr 2014 03:15:08 -0400
changeset 191990 65a7823d69dff23f8df658457197b3fc02d643e0
parent 191989 c5204996e4200b3f9360a549fc7b5fb1cf9375fe
child 191991 86d484d7fc28a8a86cc8f9395d48cb640a983585
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 - Update winrt APZController.cpp to dump the displayport margins. r=botond, a=lsblakk
widget/windows/winrt/APZController.cpp
--- a/widget/windows/winrt/APZController.cpp
+++ b/widget/windows/winrt/APZController.cpp
@@ -126,22 +126,22 @@ public:
     nsCOMPtr<nsIDOMWindowUtils> utils;
     nsCOMPtr<nsIDOMWindow> window = subDocument->GetDefaultView();
     if (window) {
       utils = do_GetInterface(window);
       if (utils) {
         APZCCallbackHelper::UpdateRootFrame(utils, mFrameMetrics);
 
 #ifdef DEBUG_CONTROLLER
-        WinUtils::Log("APZController: %I64d mDisplayPort: %0.2f %0.2f %0.2f %0.2f",
+        WinUtils::Log("APZController: %I64d mDisplayPortMargins: %0.2f %0.2f %0.2f %0.2f",
           mFrameMetrics.mScrollId,
-          mFrameMetrics.mDisplayPort.x,
-          mFrameMetrics.mDisplayPort.y,
-          mFrameMetrics.mDisplayPort.width,
-          mFrameMetrics.mDisplayPort.height);
+          mFrameMetrics.GetDisplayPortMargins().left,
+          mFrameMetrics.GetDisplayPortMargins().top,
+          mFrameMetrics.GetDisplayPortMargins().right,
+          mFrameMetrics.GetDisplayPortMargins().bottom);
 #endif
       }
     }
     return NS_OK;
   }
 protected:
   FrameMetrics mFrameMetrics;
   nsIWidgetListener* mWidgetListener;