fixed compile error due to recent change
fixed compile error due to recent change

Change-Id: Ib997d8011e7f11293cff21b0f445ca5276fe81ba

WeaveTeam/WeaveJS,WeaveTeam/WeaveJS,WeaveTeam/WeaveJS,WeaveTeam/WeaveJS