Backed out changeset 65f06a1e7b1b (bug 799401) for Windows build bustage.

This commit is contained in:
Ryan VanderMeulen
2012-12-04 21:43:52 -05:00
parent ca46a31e78
commit 01a9d997af
5 changed files with 1 additions and 115 deletions

View File

@@ -967,11 +967,7 @@ void AsyncPanZoomController::RequestContentRepaint() {
// This message is compressed, so fire whether or not we already have a paint
// queued up. We need to know whether or not a paint was requested anyways,
// for the purposes of content calling window.scrollTo().
mPaintThrottler.PostTask(
FROM_HERE,
NewRunnableMethod(mGeckoContentController.get(),
&GeckoContentController::RequestContentRepaint,
mFrameMetrics));
mGeckoContentController->RequestContentRepaint(mFrameMetrics);
mLastPaintRequestMetrics = mFrameMetrics;
mWaitingForContentToPaint = true;
@@ -1085,8 +1081,6 @@ bool AsyncPanZoomController::SampleContentTransformForFrame(const TimeStamp& aSa
void AsyncPanZoomController::NotifyLayersUpdated(const FrameMetrics& aViewportFrame, bool aIsFirstPaint) {
MonitorAutoLock monitor(mMonitor);
mPaintThrottler.TaskComplete();
mLastContentPaintMetrics = aViewportFrame;
if (mWaitingForContentToPaint) {