コード例 #1
0
ファイル: SinfParser.cpp プロジェクト: AtulKumar2/gecko-dev
void
SinfParser::ParseSchi(Box& aBox)
{
  for (Box box = aBox.FirstChild(); box.IsAvailable(); box = box.Next()) {
    if (box.IsType("tenc")) {
      ParseTenc(box);
    }
  }
}
コード例 #2
0
ファイル: SinfParser.cpp プロジェクト: fitzgen/gecko-dev
Result<Ok, nsresult>
SinfParser::ParseSchi(Box& aBox)
{
  for (Box box = aBox.FirstChild(); box.IsAvailable(); box = box.Next()) {
    if (box.IsType("tenc") && ParseTenc(box).isErr()) {
      return Err(NS_ERROR_FAILURE);
    }
  }
  return Ok();
}