summaryrefslogtreecommitdiffstats
path: root/chrome/browser/render_widget_host.cc
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-11 22:35:19 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-11 22:35:19 +0000
commit2f15de4cf410a5d260958a84f7ff5acb5ed93b42 (patch)
tree23154cfe6dcb10d0af1349d5926820b10c602383 /chrome/browser/render_widget_host.cc
parente688331d8e7086a71a55033a3ad14cc8b018799b (diff)
downloadchromium_src-2f15de4cf410a5d260958a84f7ff5acb5ed93b42.zip
chromium_src-2f15de4cf410a5d260958a84f7ff5acb5ed93b42.tar.gz
chromium_src-2f15de4cf410a5d260958a84f7ff5acb5ed93b42.tar.bz2
Remove some Windows-specific stuff from RenderProcessHost by having callers get the process handle and PID directly from the corresponding Process object.
Review URL: http://codereview.chromium.org/10608 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5219 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/render_widget_host.cc')
-rw-r--r--chrome/browser/render_widget_host.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/render_widget_host.cc b/chrome/browser/render_widget_host.cc
index 40047e1..7374c92 100644
--- a/chrome/browser/render_widget_host.cc
+++ b/chrome/browser/render_widget_host.cc
@@ -765,7 +765,7 @@ void RenderWidgetHost::PaintRect(HANDLE bitmap, const gfx::Rect& bitmap_rect,
bool needs_full_paint = false;
BackingStore* backing_store =
BackingStoreManager::PrepareBackingStore(this, view_rect,
- process_->process(),
+ process_->process().handle(),
bitmap, bitmap_rect,
&needs_full_paint);
DCHECK(backing_store != NULL);
@@ -800,7 +800,7 @@ void RenderWidgetHost::ScrollRect(HANDLE bitmap, const gfx::Rect& bitmap_rect,
// We expect that damaged_rect should equal bitmap_rect.
DCHECK(gfx::Rect(damaged_rect) == bitmap_rect);
- backing_store->Refresh(process_->process(), bitmap, bitmap_rect);
+ backing_store->Refresh(process_->process().handle(), bitmap, bitmap_rect);
}
void RenderWidgetHost::RestartHangMonitorTimeout() {