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

Issue 10694108: Make EventBindings use static routed methods. (Closed)

Created:
8 years, 5 months ago by koz (OOO until 15th September)
Modified:
8 years, 5 months ago
Reviewers:
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Make EventBindings use static routed methods. This change makes EventBindings use NativeHandler::RouteStaticFunction() instead of NativeHandler::RouteFunction() because use of the latter seems to cause use after free errors (see bug). This change was originally done in r132850 but it was reverted in r133253 because it introduced many crashes. In r145484 as part of a bigger change (filtered events) the events were made to use dynamic routing again and many crashes ensued again. BUG=136232 TBR=kalman@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=145634

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -57 lines) Patch
M chrome/renderer/extensions/event_bindings.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/renderer/extensions/event_bindings.cc View 15 chunks +50 lines, -48 lines 0 comments Download
M chrome/renderer/extensions/extension_dispatcher.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/renderer/extensions/extension_dispatcher.cc View 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/koz@chromium.org/10694108/1
8 years, 5 months ago (2012-07-08 06:47:14 UTC) #1
commit-bot: I haz the power
8 years, 5 months ago (2012-07-08 08:03:53 UTC) #2
Change committed as 145634

Powered by Google App Engine
This is Rietveld 408576698