summaryrefslogtreecommitdiffstats
path: root/chrome/browser/render_widget_host.h
diff options
context:
space:
mode:
authoriyengar@google.com <iyengar@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-14 05:01:07 +0000
committeriyengar@google.com <iyengar@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-14 05:01:07 +0000
commitb7fce1fc73a61f9c14b022facae152fe9671da04 (patch)
treef34add4e52cd9fe38aa04a7672ed1e465438a7f6 /chrome/browser/render_widget_host.h
parent26580d20f65dbcb7b5f3c98c16f8eebff1ac61b0 (diff)
downloadchromium_src-b7fce1fc73a61f9c14b022facae152fe9671da04.zip
chromium_src-b7fce1fc73a61f9c14b022facae152fe9671da04.tar.gz
chromium_src-b7fce1fc73a61f9c14b022facae152fe9671da04.tar.bz2
Removing the code which enables using the renderer dib in the browser backing
store as this hurts performance. Bug=1314407 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@858 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/render_widget_host.h')
-rw-r--r--chrome/browser/render_widget_host.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/chrome/browser/render_widget_host.h b/chrome/browser/render_widget_host.h
index 054959d..ceefea1 100644
--- a/chrome/browser/render_widget_host.h
+++ b/chrome/browser/render_widget_host.h
@@ -352,16 +352,7 @@ class RenderWidgetHost::BackingStore {
bool Refresh(HANDLE process, HANDLE bitmap_section,
const gfx::Rect& bitmap_rect);
- bool using_renderer_bitmap_section() const {
- return renderer_bitmap_section_ != NULL;
- }
-
private:
- // Creates the backing store DIB backed by the renderer bitmap
- // shared section.
- void CreateDIBSectionBackedByRendererBitmap(
- const gfx::Rect& bitmap_rect, HANDLE bitmap_section_from_renderer);
-
// Creates a dib conforming to the height/width/section parameters passed
// in. The use_os_color_depth parameter controls whether we use the color
// depth to create an appropriate dib or not.
@@ -372,10 +363,6 @@ class RenderWidgetHost::BackingStore {
HDC hdc_;
// The size of the backing store.
gfx::Size size_;
- // Handle to the renderer bitmap section, valid in the browser address
- // space. This is set if the backing store dib is backed by the renderer
- // bitmap section.
- HANDLE renderer_bitmap_section_;
// Handle to the backing store dib.
HANDLE backing_store_dib_;
// Handle to the original bitmap in the dc.