diff options
author | nick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 19:27:03 +0000 |
---|---|---|
committer | nick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 19:27:03 +0000 |
commit | 692eae7e273b3e136c4923197f917b5e538beed3 (patch) | |
tree | 15df23df48c3e1629190afe9f7c6f0d38445c94a /chrome/renderer/render_widget.h | |
parent | a53870bb02901bcc9a4c0967bb6d1de338dfaa46 (diff) | |
download | chromium_src-692eae7e273b3e136c4923197f917b5e538beed3.zip chromium_src-692eae7e273b3e136c4923197f917b5e538beed3.tar.gz chromium_src-692eae7e273b3e136c4923197f917b5e538beed3.tar.bz2 |
Revert 24227 - Modify the RenderThread to track the number of widgets
and "hidden widgets" which are running through that thread.
By knowing the if the widgets are all hidden, the thread
can accurately inform V8 when it is idle so that V8 can
better cleanup unused memory when idle.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/174303
TBR=mbelshe@google.com
Review URL: http://codereview.chromium.org/174417
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24270 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_widget.h')
-rw-r--r-- | chrome/renderer/render_widget.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/renderer/render_widget.h b/chrome/renderer/render_widget.h index ae54a55..7987d28 100644 --- a/chrome/renderer/render_widget.h +++ b/chrome/renderer/render_widget.h @@ -151,11 +151,6 @@ class RenderWidget : public IPC::Channel::Listener, // browser side has updated the screen for a newly painted region. virtual void DidPaint() {} - // Sets the "hidden" state of this widget. All accesses to is_hidden_ should - // use this method so that we can properly inform the RenderThread of our - // state. - void SetHidden(bool hidden); - // True if a PaintRect_ACK message is pending. bool paint_reply_pending() const { return paint_reply_pending_; |