Bug 1171312 - Added generic tree traversal algorithms draft algorithms
authorTim Stullich <timstullich@gmail.com>
Tue, 21 Jul 2015 15:11:30 -0700
branchalgorithms
changeset 279949 96eaf07e8ed6903e8fb4d7ee57254f5628d6ca51
parent 279946 782f18ba2638df1bd016b79993c362771a9c95fd
child 724525 381b482b3edb7d8f5071ec302206c8c45135e960
push id3671
push usertimstullich@gmail.com
push dateTue, 21 Jul 2015 22:37:35 +0000
bugs1171312
milestone42.0a1
Bug 1171312 - Added generic tree traversal algorithms
gfx/layers/apz/src/APZCTreeManager.cpp
--- a/gfx/layers/apz/src/APZCTreeManager.cpp
+++ b/gfx/layers/apz/src/APZCTreeManager.cpp
@@ -23,16 +23,17 @@
 #include "mozilla/EventStateManager.h"  // for WheelPrefs
 #include "nsDebug.h"                    // for NS_WARNING
 #include "nsPoint.h"                    // for nsIntPoint
 #include "nsThreadUtils.h"              // for NS_IsMainThread
 #include "mozilla/gfx/Logging.h"        // for gfx::TreeLog
 #include "UnitTransforms.h"             // for ViewAs
 #include "gfxPrefs.h"                   // for gfxPrefs
 #include "OverscrollHandoffState.h"     // for OverscrollHandoffState
+#include "TreeTraversal.h"              // for generic tree traveral algorithms
 #include "LayersLogging.h"              // for Stringify
 #include "Units.h"                      // for ParentlayerPixel
 
 #define ENABLE_APZCTM_LOGGING 0
 // #define ENABLE_APZCTM_LOGGING 1
 
 #if ENABLE_APZCTM_LOGGING
 #  define APZCTM_LOG(...) printf_stderr("APZCTM: " __VA_ARGS__)