use MSG_ROUTING_NONE to initialize routing_id_ rather than 0
This commit is contained in:
parent
a3bd54a41a
commit
704561b255
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ RemoteObjectFreer::RemoteObjectFreer(
|
|||
v8::Isolate* isolate, v8::Local<v8::Object> 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();
|
||||
|
|
Loading…
Reference in a new issue