diff --git a/atom/common/api/remote_object_freer.cc b/atom/common/api/remote_object_freer.cc index 3dfc7c8c345b..b136f05449ac 100644 --- a/atom/common/api/remote_object_freer.cc +++ b/atom/common/api/remote_object_freer.cc @@ -42,7 +42,7 @@ RemoteObjectFreer::RemoteObjectFreer( v8::Isolate* isolate, v8::Local target, int object_id) : ObjectLifeMonitor(isolate, target), object_id_(object_id), - routing_id_(0) { + routing_id_(MSG_ROUTING_NONE) { content::RenderView* render_view = GetCurrentRenderView(); if (render_view) { routing_id_ = render_view->GetRoutingID();