From 176aa48371da91eb98d675d87b4e70c7b26d696f Mon Sep 17 00:00:00 2001 From: "brettw@google.com" Date: Fri, 14 Nov 2008 03:25:15 +0000 Subject: Add Terminate() to the Process object, have RenderProcessHost use this to avoid some more Windows specific code. Move Process and SharedMemory into the base namespace (most changes). Review URL: http://codereview.chromium.org/10895 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5446 0039d316-1c4b-4281-b951-d872f2087c98 --- base/gfx/platform_canvas_win.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'base/gfx') diff --git a/base/gfx/platform_canvas_win.cc b/base/gfx/platform_canvas_win.cc index f2c69ac..fe90c55 100644 --- a/base/gfx/platform_canvas_win.cc +++ b/base/gfx/platform_canvas_win.cc @@ -34,8 +34,8 @@ void CrashForBitmapAllocationFailure(int w, int h) { // If we're using a crazy amount of virtual address space, then maybe there // isn't enough for our bitmap. const int64 kLotsOfMem = 1500000000; // 1.5GB. - scoped_ptr process_metrics( - process_util::ProcessMetrics::CreateProcessMetrics(GetCurrentProcess())); + scoped_ptr process_metrics( + base::ProcessMetrics::CreateProcessMetrics(GetCurrentProcess())); CHECK(process_metrics->GetPagefileUsage() < kLotsOfMem); // Everything else. -- cgit v1.1