bug 1366294 - Part 9 - Fix Windows Build. r=gfritzsche
authorChris H-C <chutten@mozilla.com>
Wed, 28 Jun 2017 11:00:41 -0700
changeset 419309 517dfa79fb923da114c1312c7e817e3705c28d0f
parent 419308 0aabd083051245780963b5938cf58defe8d1e85b
child 419310 b8baeb0f3f70a48bfe23d27dde8031a2be7e9f63
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgfritzsche
bugs1366294
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 1366294 - Part 9 - Fix Windows Build. r=gfritzsche MozReview-Commit-ID: 8P2W8fD2xNi
ipc/chromium/src/base/message_pump_win.cc
--- a/ipc/chromium/src/base/message_pump_win.cc
+++ b/ipc/chromium/src/base/message_pump_win.cc
@@ -156,18 +156,16 @@ void MessagePumpForUI::PumpOutPendingPai
   for (peek_count = 0; peek_count < kMaxPeekCount; ++peek_count) {
     MSG msg;
     if (!PeekMessage(&msg, NULL, 0, 0, PM_REMOVE | PM_QS_PAINT))
       break;
     ProcessMessageHelper(msg);
     if (state_->should_quit)  // Handle WM_QUIT.
       break;
   }
-  // Histogram what was really being used, to help to adjust kMaxPeekCount.
-  DHISTOGRAM_COUNTS("Loop.PumpOutPendingPaintMessages Peeks", peek_count);
 }
 
 //-----------------------------------------------------------------------------
 // MessagePumpForUI private:
 
 // static
 LRESULT CALLBACK MessagePumpForUI::WndProcThunk(
     HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam) {