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

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

Issue 8536049: Fix the race condition between mac drawRect and toggling accelerated compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | content/browser/renderer_host/render_widget_host_view_mac.mm » ('j') | 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.h
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.h b/content/browser/renderer_host/render_widget_host_view_mac.h
index 04a0876c875cdbd16d226df74f1ff46ee6ecc06d..099077c731f149528c9dce1c6791fe19fe702a68 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.h
+++ b/content/browser/renderer_host/render_widget_host_view_mac.h
@@ -331,6 +331,9 @@ class RenderWidgetHostViewMac : public RenderWidgetHostView {
// prevent us from scheduling multiple calls.
bool call_set_needs_display_in_rect_pending_;
+ // Whether last rendered frame was accelerated.
+ bool last_frame_was_accelerated_;
+
// The invalid rect that needs to be painted by callSetNeedsDisplayInRect.
// This value is only meaningful when
// |call_set_needs_display_in_rect_pending_| is true.
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698