/* 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/. */
// This version of CompositorWidget implements a wrapper around // nsBaseWidget. class InProcessCompositorWidget : public CompositorWidget { public: explicit InProcessCompositorWidget(const layers::CompositorOptions& aOptions,
nsBaseWidget* aWidget);
// If you can override this method, inherit from CompositorWidget instead.
nsIWidget* RealWidget() override;
protected:
nsBaseWidget* mWidget; // Bug 1679368: Maintain an additional widget pointer, constant, and // function for sanity checking while we chase a crash. staticconstchar* CANARY_VALUE; constchar* mCanary;
nsBaseWidget* mWidgetSanity; void CheckWidgetSanity();
};
} // namespace widget
} // namespace mozilla
#endif
¤ Dauer der Verarbeitung: 0.15 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.