Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Issue 164071: Merge 22540 - Ensure that we never call into WebCore::Page static methods whe... (Closed)

Created:
11 years, 4 months ago by jon
Modified:
9 years, 7 months ago
Reviewers:
dglazkov
CC:
chromium-reviews_googlegroups.com, darin (slow to review), brettw, jam, Ben Goodger (Google)
Visibility:
Public.

Description

Merge 22540 - Ensure that we never call into WebCore::Page static methods when Page constructor hasn't been called. This is a top crash for Mac right now. The crash occurs because the static table of all pages in the renderer is initialized in WebCore:: Page constructor, and if we attempt to access this table before the Page was created (i.e. before WebView::Create is called), we get into a crashy situation. I am really not sure how to reproduce this, but I can defend against the situation. BUG=17555 R=darin TEST=unable to repro, speculative fix. Review URL: http://codereview.chromium.org/159887 TBR=dglazkov@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=22618

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -1 line) Patch
MM chrome/browser/renderer_host/browser_render_process_host.h View 2 chunks +4 lines, -0 lines 0 comments Download
MM chrome/browser/renderer_host/browser_render_process_host.cc View 2 chunks +8 lines, -1 line 0 comments Download
MM chrome/browser/renderer_host/mock_render_process_host.h View 1 chunk +1 line, -0 lines 0 comments Download
MM chrome/browser/renderer_host/mock_render_process_host.cc View 1 chunk +3 lines, -0 lines 0 comments Download
MM chrome/browser/renderer_host/render_process_host.h View 1 chunk +3 lines, -0 lines 0 comments Download
MM chrome/browser/renderer_host/render_view_host.cc View 1 chunk +1 line, -0 lines 0 comments Download
MM chrome/browser/renderer_host/test/test_render_view_host.cc View 1 chunk +1 line, -0 lines 0 comments Download
MM chrome/browser/visitedlink_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
jon
11 years, 4 months ago (2009-08-06 17:25:19 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698