diff options
author | dcarney <dcarney@chromium.org> | 2015-04-16 04:49:40 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-16 11:49:58 +0000 |
commit | dd8fc1ebd8763c1a7a93dcf54417eb5aba4599cb (patch) | |
tree | 1169319ed9b2e2cd4f88749e7a7a98058692282f /extensions/renderer/guest_view | |
parent | ee1b10bd38de9e6f96e491bd30c63577e22a9bae (diff) | |
download | chromium_src-dd8fc1ebd8763c1a7a93dcf54417eb5aba4599cb.zip chromium_src-dd8fc1ebd8763c1a7a93dcf54417eb5aba4599cb.tar.gz chromium_src-dd8fc1ebd8763c1a7a93dcf54417eb5aba4599cb.tar.bz2 |
update chrome to handle temporary WEB_FRAME_USES_V8_LOCAL condition
note: this cl will be reverted once v8::Local is aliased to v8::Handle
TBR=kalman@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1095463003
Cr-Commit-Position: refs/heads/master@{#325417}
Diffstat (limited to 'extensions/renderer/guest_view')
-rw-r--r-- | extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc b/extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc index ed586a7..7688771 100644 --- a/extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc +++ b/extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc @@ -233,7 +233,11 @@ void MimeHandlerViewContainer::PostMessage(v8::Isolate* isolate, if (!window_object.Get(std::string(kPostMessageName), &post_message)) return; +#ifdef WEB_FRAME_USES_V8_LOCAL + v8::Local<v8::Value> args[] = { +#else v8::Handle<v8::Value> args[] = { +#endif message, // Post the message to any domain inside the browser plugin. The embedder // should already know what is embedded. |