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

Issue 23679004: Remove more calls to HandleScope default ctor. (Closed)

Created:
7 years, 3 months ago by marja
Modified:
7 years, 3 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, mad+watch_chromium.org, jam, dominich, darin-cc_chromium.org, scheib+watch_chromium.org, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, chromium-apps-reviews_chromium.org, jfweitz+watch_chromium.org, joi+watch-content_chromium.org, Jered
Visibility:
Public.

Description

Remove more calls to HandleScope default ctor. It's replaced by a version which takes an isolate. The default ctor will be removed soon. BUG=NONE Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221689

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -50 lines) Patch
M chrome/renderer/extensions/app_bindings.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/app_window_custom_bindings.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/binding_generating_native_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/chrome_v8_context.h View 2 chunks +6 lines, -0 lines 3 comments Download
M chrome/renderer/extensions/chrome_v8_context.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/renderer/extensions/console.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/content_watcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/dispatcher.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/renderer/extensions/extension_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/messaging_bindings.cc View 7 chunks +15 lines, -10 lines 0 comments Download
M chrome/renderer/extensions/module_system.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/module_system.cc View 12 chunks +17 lines, -12 lines 0 comments Download
M chrome/renderer/extensions/object_backed_native_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/render_view_observer_natives.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/user_script_scheduler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/webstore_bindings.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/pepper/pepper_extensions_common_host.cc View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/renderer/searchbox/searchbox_extension.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/translate/translate_helper.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/test/base/module_system_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/base/v8_unit_test.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_browsertest.cc View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
marja
Could you review the following parts: jyasskin: chrome/renderer/extensions/* dmichael: chrome/renderer/pepper/* sky: chrome/test/base/* fsamuel: chrome/renderer/browser_plugin/*
7 years, 3 months ago (2013-09-05 12:01:21 UTC) #1
Fady Samuel
browser_plugin LGTM
7 years, 3 months ago (2013-09-05 13:17:40 UTC) #2
dmichael (off chromium)
pepper lgtm
7 years, 3 months ago (2013-09-05 15:22:02 UTC) #3
Jeffrey Yasskin
extensions lgtm, with one comment. https://codereview.chromium.org/23679004/diff/1/chrome/renderer/extensions/chrome_v8_context.h File chrome/renderer/extensions/chrome_v8_context.h (right): https://codereview.chromium.org/23679004/diff/1/chrome/renderer/extensions/chrome_v8_context.h#newcode120 chrome/renderer/extensions/chrome_v8_context.h:120: return isolate_; I believe ...
7 years, 3 months ago (2013-09-05 17:36:25 UTC) #4
sky
LGTM
7 years, 3 months ago (2013-09-05 20:26:54 UTC) #5
marja
Thanks for review! jyasskin, I'm committing this despite not doing your comment (see below why), ...
7 years, 3 months ago (2013-09-06 08:31:24 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/23679004/1
7 years, 3 months ago (2013-09-06 08:33:09 UTC) #7
commit-bot: I haz the power
Change committed as 221689
7 years, 3 months ago (2013-09-06 12:21:05 UTC) #8
Jeffrey Yasskin
https://codereview.chromium.org/23679004/diff/1/chrome/renderer/extensions/chrome_v8_context.h File chrome/renderer/extensions/chrome_v8_context.h (right): https://codereview.chromium.org/23679004/diff/1/chrome/renderer/extensions/chrome_v8_context.h#newcode120 chrome/renderer/extensions/chrome_v8_context.h:120: return isolate_; On 2013/09/06 08:31:24, marja wrote: > On ...
7 years, 3 months ago (2013-09-06 16:10:13 UTC) #9
marja
7 years, 3 months ago (2013-09-07 09:31:59 UTC) #10
Message was sent while issue was closed.
Yup, one possible way would be to allow functions which cannot cause a GC to be
called on Persistents -- those are safe. For that, we'd need some kind of a
"promise" ("this won't cause GC") from the V8 side. We have been tossing the
idea around, but have no finalized plans on this yet...

Powered by Google App Engine
This is Rietveld 408576698