Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / content / browser / web_contents / aura / window_slider.cc
index 8248d6c..b86e526 100644 (file)
@@ -52,14 +52,14 @@ WindowSlider::WindowSlider(Delegate* delegate,
       owner_(owner),
       active_animator_(NULL),
       delta_x_(0.f),
-      weak_factory_(this),
       active_start_threshold_(0.f),
       start_threshold_touchscreen_(content::GetOverscrollConfig(
           content::OVERSCROLL_CONFIG_HORIZ_THRESHOLD_START_TOUCHSCREEN)),
       start_threshold_touchpad_(content::GetOverscrollConfig(
           content::OVERSCROLL_CONFIG_HORIZ_THRESHOLD_START_TOUCHPAD)),
       complete_threshold_(content::GetOverscrollConfig(
-          content::OVERSCROLL_CONFIG_HORIZ_THRESHOLD_COMPLETE)) {
+          content::OVERSCROLL_CONFIG_HORIZ_THRESHOLD_COMPLETE)),
+      weak_factory_(this) {
   event_window_->AddPreTargetHandler(this);
 
   event_window_->AddObserver(this);