Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 253913003: Remove RenderWidgetHostView*::DidUpdateBackingStore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_view_mac.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index a3ea3c2bb9d28c021e7bb16f3da89705cf02e38d..f69a47c21e32b0781fa449978c8f8b8f9dc0d67b 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -1010,22 +1010,6 @@ void RenderWidgetHostViewMac::ImeCompositionRangeChanged(
composition_bounds_ = character_bounds;
}
-void RenderWidgetHostViewMac::DidUpdateBackingStore(
- const gfx::Rect& scroll_rect,
- const gfx::Vector2d& scroll_delta,
- const std::vector<gfx::Rect>& copy_rects,
- const std::vector<ui::LatencyInfo>& latency_info) {
- // This can be called while already inside of a display function. Process the
- // new frame in a callback to ensure a clean stack.
- // TODO(ccameron): This should never be called. Remove the remaining callers
- // and remove all places where the backing store is drawn.
- AddPendingLatencyInfo(latency_info);
- base::MessageLoop::current()->PostTask(
- FROM_HERE,
- base::Bind(&RenderWidgetHostViewMac::GotSoftwareFrame,
piman 2014/04/28 20:47:52 Can you remove GotSoftwareFrame too, now?
- weak_factory_.GetWeakPtr()));
-}
-
void RenderWidgetHostViewMac::RenderProcessGone(base::TerminationStatus status,
int error_code) {
Destroy();

Powered by Google App Engine
This is Rietveld 408576698