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

Unified Diff: content/browser/frame_host/render_widget_host_view_guest.h

Issue 1199963011: Force new surface on BrowserPluginGuest reattach. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add blank lines where needed. Created 5 years, 6 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/frame_host/render_widget_host_view_guest.h
diff --git a/content/browser/frame_host/render_widget_host_view_guest.h b/content/browser/frame_host/render_widget_host_view_guest.h
index 0201580474d3e61888d64a2d7d6dfc1dd4a3b2bd..9892676681a41695a473902292c1536d67ffb185 100644
--- a/content/browser/frame_host/render_widget_host_view_guest.h
+++ b/content/browser/frame_host/render_widget_host_view_guest.h
@@ -143,6 +143,10 @@ class CONTENT_EXPORT RenderWidgetHostViewGuest
friend class RenderWidgetHostView;
private:
+
+ // Clears current compositor surface, if one is in use.
+ void ClearSurfaceIfNecessary();
+
// Destroys this view without calling |Destroy| on |platform_view_|.
void DestroyGuestView();

Powered by Google App Engine
This is Rietveld 408576698