Bug 1230552 - Update some out-of-date comments and remove an old #undef. r=kats

This commit is contained in:
Botond Ballo 2015-12-11 17:49:45 -05:00
parent ab943c825d
commit 49ee87aaf1
3 changed files with 3 additions and 5 deletions

View File

@ -871,7 +871,7 @@ private:
void HandleSmoothScrollOverscroll(const ParentLayerPoint& aVelocity);
// Helper function used by TakeOverFling() and HandleFlingOverscroll().
// Helper function used by AttemptFling().
void AcceptFling(ParentLayerPoint& aVelocity,
const RefPtr<const OverscrollHandoffChain>& aOverscrollHandoffChain,
bool aHandoff);

View File

@ -173,7 +173,7 @@ private:
void UpdateActiveApzc(const RefPtr<AsyncPanZoomController>& aNewActive);
private:
// The queue of touch blocks that have not yet been fully processed.
// The queue of input blocks that have not yet been fully processed.
// This member must only be accessed on the controller/UI thread.
nsTArray<UniquePtr<CancelableBlockState>> mInputBlockQueue;

View File

@ -9,7 +9,7 @@
#include <vector>
#include "nsAutoPtr.h"
#include "nsISupportsImpl.h" // for NS_INLINE_DECL_REFCOUNTING
#include "nsISupportsImpl.h" // for NS_INLINE_DECL_THREADSAFE_REFCOUNTING
#include "APZUtils.h" // for CancelAnimationFlags
#include "Layers.h" // for Layer::ScrollDirection
#include "Units.h" // for ScreenPoint
@ -127,8 +127,6 @@ struct OverscrollHandoffState {
ScrollSource mScrollSource;
};
// Don't pollute other files with this macro for now.
#undef NS_INLINE_DECL_THREADSAFE_MUTABLE_REFCOUNTING
} // namespace layers
} // namespace mozilla