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

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

Issue 427393005: Fix RenderWidgetHostViewMac::SchedulePaintInRect (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: piman nit 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e60324ab17ec68eb6b35d246bc9e7925e470bf7a..293235465daaf4031cf9d67f2cacd2faa51fe4be 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -426,8 +426,8 @@ RenderWidgetHostImpl* RenderWidgetHostViewMac::GetHost() {
void RenderWidgetHostViewMac::SchedulePaintInRect(
const gfx::Rect& damage_rect_in_dip) {
- if (browser_compositor_view_)
- browser_compositor_view_->GetCompositor()->ScheduleFullRedraw();
+ DCHECK(GetLayer());
+ GetLayer()->SchedulePaint(damage_rect_in_dip);
}
bool RenderWidgetHostViewMac::IsVisible() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698