Bug 1030741 - Follow-up to fix android bustage. r=me
authorKartikaya Gupta <kgupta@mozilla.com>
Sat, 23 Aug 2014 19:55:55 -0400
changeset 201228 e6abbd1b9555865c077ebfb5b269ec24b33c4a3b
parent 201227 1135f5842f1f708ffb2156ce797a73320cb0832f
child 201229 0898cd98bb28c9369336182d231081894828b6c3
push id48119
push userkgupta@mozilla.com
push dateSat, 23 Aug 2014 23:56:31 +0000
treeherdermozilla-inbound@e6abbd1b9555 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1030741
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1030741 - Follow-up to fix android bustage. r=me
widget/android/APZCCallbackHandler.cpp
--- a/widget/android/APZCCallbackHandler.cpp
+++ b/widget/android/APZCCallbackHandler.cpp
@@ -86,17 +86,17 @@ APZCCallbackHandler::RequestContentRepai
         NS_DispatchToMainThread(NS_NewRunnableMethodWithArg<FrameMetrics>(
             this, &APZCCallbackHandler::RequestContentRepaint, aFrameMetrics));
         return;
     }
 
     MOZ_ASSERT(NS_IsMainThread());
     MOZ_ASSERT(aFrameMetrics.GetScrollId() != FrameMetrics::NULL_SCROLL_ID);
 
-    if (aFrameMetrics.mIsRoot) {
+    if (aFrameMetrics.GetIsRoot()) {
         nsIDOMWindowUtils* utils = GetDOMWindowUtils();
         if (utils && APZCCallbackHelper::HasValidPresShellId(utils, aFrameMetrics)) {
             FrameMetrics metrics = aFrameMetrics;
             APZCCallbackHelper::UpdateRootFrame(utils, metrics);
             APZCCallbackHelper::UpdateCallbackTransform(aFrameMetrics, metrics);
         }
     } else {
         // aFrameMetrics.mIsRoot is false, so we are trying to update a subframe.