Fix ExternalViewportRectForPrioritizingTiles flakiness on Windows
commita6724c6417e2451b1eed36220c90b1fb578295e2
authorhush@chromium.org <hush@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 5 Aug 2014 14:01:29 +0000 (5 14:01 +0000)
committerhush@chromium.org <hush@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 5 Aug 2014 14:01:29 +0000 (5 14:01 +0000)
tree9931a99dd8476fe47017a9fa1f80543a88832530
parent4e2cc1b7e88c22fe3d3346d81021520735cbfb2d
Fix ExternalViewportRectForPrioritizingTiles flakiness on Windows

2 problems here:
1. Setting the frame time to 0 does nothing, because LTHI will read from
gfx::FrameTime::Now() instead. Need to start at 1 millisecond.

2. Need to tick the frame timer after SetupDrawPropertiesAndUpdateTiles.

BUG=399796

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287536 0039d316-1c4b-4281-b951-d872f2087c98
cc/layers/picture_layer_impl_unittest.cc