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

Issue 614223004: Use the correct v8 context for conversions when calling into the plugin from JS (Closed)

Created:
6 years, 2 months ago by raymes
Modified:
6 years, 2 months ago
Reviewers:
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@2171
Project:
chromium
Visibility:
Public.

Description

Use the correct v8 context for conversions when calling into the plugin from JS Previously we were using the plugin context when converting objects during calls into the plugin from JS. As decided previously in https://codereview.chromium.org/555583003/ we should always use the caller's context in these circumstances. This CL also separates the checks in PepperPluginInstanceImpl::GetContext to help diagnose crbug.com/416311. BUG=416311 Review URL: https://codereview.chromium.org/588083002 Cr-Commit-Position: refs/heads/master@{#297136} (cherry picked from commit 816f98b97b87b84e2e1e6cff7dd1f4da9749cc2c) Committed: https://chromium.googlesource.com/chromium/src/+/6975ef66dad045b343891e0fcbf737c8ebfac89c

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -20 lines) Patch
M content/renderer/pepper/message_channel.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.h View 1 chunk +6 lines, -2 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 chunk +11 lines, -6 lines 0 comments Download
M content/renderer/pepper/pepper_try_catch.h View 3 chunks +4 lines, -2 lines 0 comments Download
M content/renderer/pepper/pepper_try_catch.cc View 3 chunks +12 lines, -6 lines 0 comments Download
M content/renderer/pepper/ppb_var_deprecated_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
raymes
6 years, 2 months ago (2014-10-01 17:15:19 UTC) #1
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as 6975ef6.

Powered by Google App Engine
This is Rietveld 408576698