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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 464643003: Stop painting when receiving delegated frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index 0d41c2a5218cbe7a8ded149a5357113c750737f2..e2d553c39317eea68fc8db0ccca075f5e804aea0 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -2465,9 +2465,9 @@ RenderWidgetHostImpl* RenderWidgetHostViewAura::GetHost() {
return host_;
}
-void RenderWidgetHostViewAura::SchedulePaintInRect(
+void RenderWidgetHostViewAura::NotifyDamage(
const gfx::Rect& damage_rect_in_dip) {
- window_->SchedulePaintInRect(damage_rect_in_dip);
+ window_->NotifyDamage(damage_rect_in_dip);
}
bool RenderWidgetHostViewAura::IsVisible() {

Powered by Google App Engine
This is Rietveld 408576698