diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-27 23:47:09 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-27 23:47:09 +0000 |
commit | 16c9be6081849d7fc14ef341b19cbc15c8d615fa (patch) | |
tree | 3d9d3523f888d73e4dbc00793f2ace230b68f6db | |
parent | db68aad9db2a743a710c3635791871bac61d6161 (diff) | |
download | chromium_src-16c9be6081849d7fc14ef341b19cbc15c8d615fa.zip chromium_src-16c9be6081849d7fc14ef341b19cbc15c8d615fa.tar.gz chromium_src-16c9be6081849d7fc14ef341b19cbc15c8d615fa.tar.bz2 |
Fix about:profiler crash.
BUG=110668
Review URL: https://chromiumcodereview.appspot.com/9223025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119530 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/ui/webui/profiler_ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/webui/profiler_ui.cc b/chrome/browser/ui/webui/profiler_ui.cc index 0171b44..218cea8 100644 --- a/chrome/browser/ui/webui/profiler_ui.cc +++ b/chrome/browser/ui/webui/profiler_ui.cc @@ -135,7 +135,7 @@ void ProfilerMessageHandler::RegisterMessages() { } void ProfilerMessageHandler::OnGetData(const ListValue* list) { - ProfilerUI* profiler_ui = reinterpret_cast<ProfilerUI*>(web_ui()); + ProfilerUI* profiler_ui = static_cast<ProfilerUI*>(web_ui()->GetController()); profiler_ui->GetData(); } |