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

Unified Diff: chrome/renderer/renderer_glue.cc

Issue 6006006: Show OOM notification bar in all tabs sharing same render process (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Send reply to the sync message on the IO thread Created 9 years, 11 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: chrome/renderer/renderer_glue.cc
diff --git a/chrome/renderer/renderer_glue.cc b/chrome/renderer/renderer_glue.cc
index ecbf7f585aaf250dd506fc91b1818dfc3cd58ad7..16b8e0ad2b7e1d9636d7dac64eabab2f11873c47 100644
--- a/chrome/renderer/renderer_glue.cc
+++ b/chrome/renderer/renderer_glue.cc
@@ -319,4 +319,8 @@ bool GetFontTable(int fd, uint32_t table, uint8_t* output,
}
#endif
+void NotifyJSOutOfMemory() {
+ RenderThread::current()->Send(new ViewHostMsg_RenderProcessOutOfJSMemory());
+}
+
} // namespace webkit_glue

Powered by Google App Engine
This is Rietveld 408576698