Bug 1182950 - Fix compile error in non-unified build. r=botond
authorMorris Tseng <mtseng@mozilla.com>
Sun, 12 Jul 2015 23:23:00 -0400
changeset 252626 20b9b6052a50d616ff71e5c18bce2723d8df6460
parent 252625 576d817e46ba5a897d2ec5592c42de611eb14a19
child 252627 48fd337765811bac6ae6769e0ac1e866ce89c5aa
push idunknown
push userunknown
push dateunknown
reviewersbotond
bugs1182950
milestone42.0a1
Bug 1182950 - Fix compile error in non-unified build. r=botond
gfx/layers/apz/util/APZCCallbackHelper.cpp
gfx/layers/apz/util/APZCCallbackHelper.h
--- a/gfx/layers/apz/util/APZCCallbackHelper.cpp
+++ b/gfx/layers/apz/util/APZCCallbackHelper.cpp
@@ -2,28 +2,31 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "APZCCallbackHelper.h"
 
 #include "ContentHelper.h"
 #include "gfxPlatform.h" // For gfxPlatform::UseTiling
+#include "mozilla/dom/Element.h"
 #include "mozilla/dom/TabParent.h"
 #include "mozilla/layers/LayerTransactionChild.h"
 #include "mozilla/layers/ShadowLayers.h"
+#include "mozilla/TouchEvents.h"
 #include "nsIScrollableFrame.h"
 #include "nsLayoutUtils.h"
-#include "nsIDOMElement.h"
 #include "nsIInterfaceRequestorUtils.h"
 #include "nsIContent.h"
 #include "nsIDocument.h"
 #include "nsIDOMWindow.h"
 #include "nsRefreshDriver.h"
+#include "nsString.h"
 #include "nsView.h"
+#include "Layers.h"
 
 #define APZCCH_LOG(...)
 // #define APZCCH_LOG(...) printf_stderr("APZCCH: " __VA_ARGS__)
 
 namespace mozilla {
 namespace layers {
 
 using dom::TabParent;
--- a/gfx/layers/apz/util/APZCCallbackHelper.h
+++ b/gfx/layers/apz/util/APZCCallbackHelper.h
@@ -8,18 +8,21 @@
 
 #include "FrameMetrics.h"
 #include "mozilla/EventForwards.h"
 #include "mozilla/layers/APZUtils.h"
 #include "nsIDOMWindowUtils.h"
 
 class nsIContent;
 class nsIDocument;
+class nsIPresShell;
 class nsIWidget;
 template<class T> struct already_AddRefed;
+template<class T> class nsCOMPtr;
+template<class T> class nsRefPtr;
 
 namespace mozilla {
 namespace layers {
 
 /* A base class for callbacks to be passed to
  * APZCCallbackHelper::SendSetAllowedTouchBehaviorNotification. */
 struct SetAllowedTouchBehaviorCallback {
 public: