diff options
author | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-07 17:03:51 +0000 |
---|---|---|
committer | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-07 17:03:51 +0000 |
commit | 07fb8d56c7d6362ee7dfe32c1e67f0610240feb2 (patch) | |
tree | 8caa6c40b320b34d1b90ecacb01bfec257191aa6 /content/renderer/render_view_impl.h | |
parent | c5a2ce836ccc8d8dee6a13fe528ddd21f4072f0f (diff) | |
download | chromium_src-07fb8d56c7d6362ee7dfe32c1e67f0610240feb2.zip chromium_src-07fb8d56c7d6362ee7dfe32c1e67f0610240feb2.tar.gz chromium_src-07fb8d56c7d6362ee7dfe32c1e67f0610240feb2.tar.bz2 |
Revert 215997 "Throttle Console.log() messages."
Speculative revert for OOM issue in renderer.
> Throttle Console.log() messages.
>
> We want the memory bloat from runaway logging to occur in the renderer, so
> that it crashes with a sad tab, rather than accumulating in the browser, where
> we have seen it crash chrome itself.
>
> BUG=239438
>
> Review URL: https://chromiumcodereview.appspot.com/22318003
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/22571008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216215 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/render_view_impl.h')
-rw-r--r-- | content/renderer/render_view_impl.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h index 46d9fe8..7037562 100644 --- a/content/renderer/render_view_impl.h +++ b/content/renderer/render_view_impl.h @@ -932,7 +932,6 @@ class CONTENT_EXPORT RenderViewImpl // The documentation for these functions should be in // content/common/*_messages.h for the message that the function is handling. - void OnConsoleMessageAck(); void OnCopy(); void OnCut(); void OnDelete(); @@ -1565,12 +1564,6 @@ class CONTENT_EXPORT RenderViewImpl ui::MenuSourceType context_menu_source_type_; gfx::Point touch_editing_context_menu_location_; - // Console log message throttling. Ensures that the memory bloat from - // runaway logging occurs in the renderer, evenutaly crashing it, rather - // than in the browser. - int inflight_console_message_count_; - std::deque<IPC::Message*> deferred_console_messages_; - // --------------------------------------------------------------------------- // ADDING NEW DATA? Please see if it fits appropriately in one of the above // sections rather than throwing it randomly at the end. If you're adding a |