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

Unified Diff: content/renderer/render_view_impl.h

Issue 23171029: Fix a crash that EnsureMediaStreamClient() does not guarantee media_stream_client_ get created (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add TODO Created 7 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 | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 8571234d5bd1266b17c5be9071b49d6f1ee7769f..f7a3055f44b413bd534d2d6fc1a3b05ae8643e07 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -1092,6 +1092,9 @@ class CONTENT_EXPORT RenderViewImpl
void CheckPreferredSize();
// Initializes |media_stream_client_| if needed.
+ // TODO(qinmin): rename this function as it does not guarantee
+ // |media_stream_client_| will be created.
+ // http://crbug.com/278490.
void EnsureMediaStreamClient();
// This callback is triggered when DownloadFavicon completes, either
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698