Fix DeviceOrientationEventPump tests on mac valgrind.
commitcd640a0e7c5542d4f5573f472d82eec3fbf3a4c8
authortimvolodine@chromium.org <timvolodine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 3 Oct 2013 18:18:53 +0000 (3 18:18 +0000)
committertimvolodine@chromium.org <timvolodine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 3 Oct 2013 18:18:53 +0000 (3 18:18 +0000)
tree9f45e5aebd520b6e37c44550984cd6b971b8ad9f
parentda5165610b2e589eb997347e7fa1dec9e996070f
Fix DeviceOrientationEventPump tests on mac valgrind.

Modified the test to use a more robust strategy (similar to how the unit testing for RepeatingTimer is done), without using the RunAllPendingInMessageLoop() function.

BUG=270254

Review URL: https://codereview.chromium.org/23123003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226798 0039d316-1c4b-4281-b951-d872f2087c98
content/renderer/device_orientation/device_orientation_event_pump_unittest.cc
tools/valgrind/gtest_exclude/content_unittests.gtest_mac.txt