Bug 1084323 - Repair compilation issue with APZController. r=kats
authorLebedev Maksim <Alessarik@gmail.com>
Fri, 17 Oct 2014 17:11:23 -0400
changeset 210951 e1867db95493d9427f8361577a93e69e1b5c7f42
parent 210950 7007b9fb471f640be1722749359ca990486ac7ed
child 210952 b1c08dbcec871799549715b74f9157e1bf638d19
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewerskats
bugs1084323
milestone36.0a1
Bug 1084323 - Repair compilation issue with APZController. r=kats DONTBUILD because NPOTB (metro-only)
widget/windows/winrt/APZController.cpp
--- a/widget/windows/winrt/APZController.cpp
+++ b/widget/windows/winrt/APZController.cpp
@@ -142,28 +142,28 @@ APZController::RequestContentRepaint(con
   WinUtils::Log("APZController: mScrollOffset: %f %f", aFrameMetrics.mScrollOffset.x,
     aFrameMetrics.mScrollOffset.y);
 #endif
 
   nsCOMPtr<nsIDocument> subDocument;
   nsCOMPtr<nsIContent> targetContent;
   if (!GetDOMTargets(aFrameMetrics.GetScrollId(),
                      subDocument, targetContent)) {
-    return NS_OK;
+    return;
   }
 
   // If we're dealing with a sub frame or content editable element,
   // call UpdateSubFrame.
   if (targetContent) {
 #ifdef DEBUG_CONTROLLER
     WinUtils::Log("APZController: detected subframe or content editable");
 #endif
     FrameMetrics metrics = aFrameMetrics;
     mozilla::layers::APZCCallbackHelper::UpdateSubFrame(targetContent, metrics);
-    return NS_OK;
+    return;
   }
 
 #ifdef DEBUG_CONTROLLER
   WinUtils::Log("APZController: detected tab");
 #endif
 
   // We're dealing with a tab, call UpdateRootFrame.
   nsCOMPtr<nsIDOMWindowUtils> utils;