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

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

Issue 10696158: Rename WasRestored to WasShown across all uses. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Bring to ToT to commit Created 8 years, 5 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_helper.h
diff --git a/content/browser/renderer_host/render_widget_helper.h b/content/browser/renderer_host/render_widget_helper.h
index e16c952b8e3af4f143291d160af06dd6a61bdcf9..66fb8bfa6f8b3117420f558370896b5db8569381 100644
--- a/content/browser/renderer_host/render_widget_helper.h
+++ b/content/browser/renderer_host/render_widget_helper.h
@@ -80,12 +80,12 @@ class SessionStorageNamespace;
// This causes the corresponding RenderWidget to stop sending BackingStore
// messages. The RenderWidgetHost also discards its backingstore when it is
// hidden, which helps free up memory. As a result, when a RenderWidgetHost
-// is restored, it can be momentarily be without a backingstore. (Restoring a
-// RenderWidgetHost results in a WasRestored message being sent to the
+// is restored, it can be momentarily be without a backingstore. (Restoring
+// a RenderWidgetHost results in a WasShown message being sent to the
// RenderWidget, which triggers a full BackingStore message.) This can lead
// to an observed rendering glitch as the WebContentsImpl will just have to
-// fill white overtop the RenderWidgetHost until the RenderWidgetHost receives
-// a BackingStore message to refresh its backingstore.
+// fill white overtop the RenderWidgetHost until the RenderWidgetHost
+// receives a BackingStore message to refresh its backingstore.
//
// To avoid this 'white flash', the RenderWidgetHost again makes use of the
// RenderWidgetHelper's WaitForBackingStoreMsg method. When the
« no previous file with comments | « content/browser/browser_plugin/old/browser_plugin_host.cc ('k') | content/browser/renderer_host/render_widget_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698