| Index: trunk/src/content/renderer/render_view_impl.cc
|
| ===================================================================
|
| --- trunk/src/content/renderer/render_view_impl.cc (revision 278497)
|
| +++ trunk/src/content/renderer/render_view_impl.cc (working copy)
|
| @@ -1117,7 +1117,6 @@
|
| OnReleaseDisambiguationPopupBitmap)
|
| IPC_MESSAGE_HANDLER(ViewMsg_WindowSnapshotCompleted,
|
| OnWindowSnapshotCompleted)
|
| - IPC_MESSAGE_HANDLER(ViewMsg_ForceRedraw, OnForceRedraw)
|
| IPC_MESSAGE_HANDLER(ViewMsg_SelectWordAroundCaret, OnSelectWordAroundCaret)
|
| #if defined(OS_ANDROID)
|
| IPC_MESSAGE_HANDLER(InputMsg_ActivateNearestFindResult,
|
| @@ -1334,19 +1333,6 @@
|
| int id = next_snapshot_id_++;
|
| pending_snapshots_.insert(std::make_pair(id, callback));
|
| ui::LatencyInfo latency_info;
|
| - latency_info.AddLatencyNumber(ui::WINDOW_OLD_SNAPSHOT_FRAME_NUMBER_COMPONENT,
|
| - 0,
|
| - id);
|
| - scoped_ptr<cc::SwapPromiseMonitor> latency_info_swap_promise_monitor;
|
| - if (RenderWidgetCompositor* rwc = compositor()) {
|
| - latency_info_swap_promise_monitor =
|
| - rwc->CreateLatencyInfoSwapPromiseMonitor(&latency_info).Pass();
|
| - }
|
| - ScheduleCompositeWithForcedRedraw();
|
| -}
|
| -
|
| -void RenderViewImpl::OnForceRedraw(int id) {
|
| - ui::LatencyInfo latency_info;
|
| latency_info.AddLatencyNumber(ui::WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT,
|
| 0,
|
| id);
|
|
|