Use native_mate based Event in browser_ipc.

This commit is contained in:
Cheng Zhao 2014-04-17 17:14:05 +08:00
parent da483ba7f3
commit f36569c3b9
3 changed files with 7 additions and 8 deletions

View file

@ -6,6 +6,7 @@
#include "atom/common/native_mate_converters/string16_converter.h"
#include "atom/common/native_mate_converters/value_converter.h"
#include "content/public/browser/render_view_host.h"
#include "native_mate/dictionary.h"
#include "atom/common/node_includes.h"
@ -14,7 +15,7 @@ using content::RenderViewHost;
namespace {
bool Send(const string16& channel, int process_id, int routing_id,
const base:ListValue& arguments) {
const base::ListValue& arguments) {
RenderViewHost* render_view_host(RenderViewHost::FromID(
process_id, routing_id));
if (!render_view_host) {