Bug 1328508 - Increase the print watchdog timer for debug builds, and add some warnings to make watchdog timeouts visible. r=bobowen a=jcristau
authorJonathan Watt <jwatt@jwatt.org>
Mon, 19 Dec 2016 10:12:39 +0000
changeset 353463 08a4d4135acdf49e0db6670e1cca550767fbe2f4
parent 353462 1225f99f2ba9356d38a08d9282134a6d1e1e3e5f
child 353464 c99f59251075d3877b54d3c486a3300719255fd1
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbobowen, jcristau
bugs1328508
milestone52.0a2
Bug 1328508 - Increase the print watchdog timer for debug builds, and add some warnings to make watchdog timeouts visible. r=bobowen a=jcristau
layout/printing/nsPagePrintTimer.h
--- a/layout/printing/nsPagePrintTimer.h
+++ b/layout/printing/nsPagePrintTimer.h
@@ -69,17 +69,17 @@ private:
   uint32_t                   mFiringCount;
   nsPrintObject *            mPrintObj;
   uint32_t                   mWatchDogCount;
   bool                       mDone;
 
   static const uint32_t WATCH_DOG_INTERVAL  = 1000;
   static const uint32_t WATCH_DOG_MAX_COUNT =
 #ifdef DEBUG
-  // Debug builds are very slow (on Mac at least) and can need extra time
+    // Debug builds are very slow (on Mac at least) and can need extra time
                                               30
 #else
                                               10
 #endif
   ;
 };