summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-23 19:42:37 +0000
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-23 19:42:37 +0000
commiteed6b62c57fd10e253a8dfd7704e2ecd3fba5a83 (patch)
tree93b1da573d84b6945a995775da2d41736dd15641
parent61ab54812660928e3bb711104daf880c7685ad16 (diff)
downloadchromium_src-eed6b62c57fd10e253a8dfd7704e2ecd3fba5a83.zip
chromium_src-eed6b62c57fd10e253a8dfd7704e2ecd3fba5a83.tar.gz
chromium_src-eed6b62c57fd10e253a8dfd7704e2ecd3fba5a83.tar.bz2
[Mac] Make about:memory not crash.
http://codereview.chromium.org/177024 enabled about:memory for Linux, but it went from not-implemented to crashing for Mac, due to an out-of-bounds vector access. This returns it to simply not-implemented. http://crbug.com/21830 TEST=Browse to about:memory, don't crash, show a template with obviously null data in it. Review URL: http://codereview.chromium.org/219008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26964 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/common/temp_scaffolding_stubs.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.cc b/chrome/common/temp_scaffolding_stubs.cc
index 00e79ba..9a5f2d7 100644
--- a/chrome/common/temp_scaffolding_stubs.cc
+++ b/chrome/common/temp_scaffolding_stubs.cc
@@ -169,6 +169,7 @@ bool RLZTracker::RecordProductEvent(Product product, AccessPoint point,
#if defined(OS_MACOSX)
MemoryDetails::MemoryDetails() {
NOTIMPLEMENTED();
+ process_data_.push_back(ProcessData());
}
void MemoryDetails::StartFetch() {