ipc/app/MozillaRuntimeMain.cpp
author Zhang Junzhi <zjz@zjz.name>
Fri, 24 Aug 2018 14:59:27 +0800
changeset 831146 739bf37ecf82398f5ddcb59251ddf26bdb2bc899
parent 752051 ea00596eb02e86a919c6734a2307ff118a01d257
child 809166 5af5d376237377efa5622ed1fa961865f76f44bb
child 814133 05bbde32436d785c2adc57aab9a33e3305d4d791
permissions -rw-r--r--
Bug 1485581 - Makes nsImageFrame::GetMinISize and nsImageFrame::GetPrefISize "writing-mode responsive" r?dholbert MozReview-Commit-ID: G3S4sfW6j9r

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "../contentproc/plugin-container.cpp"

#include "mozilla/Bootstrap.h"
#include "mozilla/WindowsDllBlocklist.h"

using namespace mozilla;

int
main(int argc, char *argv[])
{
#ifdef HAS_DLL_BLOCKLIST
  DllBlocklist_Initialize(eDllBlocklistInitFlagIsChildProcess);
#endif

  Bootstrap::UniquePtr bootstrap = GetBootstrap();
  if (!bootstrap) {
    return 2;
  }
  return content_process_main(bootstrap.get(), argc, argv);
}