Bug 1648344 Part 2: Cleanup Document to remove NoValidContent viewport type. r=hiro
commitab43f75521626744e2200f0d3de7527929c06402
authorBrad Werth <bwerth@mozilla.com>
Wed, 22 Jul 2020 23:11:42 +0000 (22 23:11 +0000)
committerBrad Werth <bwerth@mozilla.com>
Wed, 22 Jul 2020 23:11:42 +0000 (22 23:11 +0000)
treead4a2ba79e325a48961b25b5c4cf7bb2c99d8058
parent3862a35baa715301e50ae1e2dfaad1222674caa5
Bug 1648344 Part 2: Cleanup Document to remove NoValidContent viewport type. r=hiro

The NoValidContent type was added to detect cases where we needed to apply
default width the viewport. That approach is no longer needed, and this
enum can be removed, as well as the code that sets and checks that enum.

Differential Revision: https://phabricator.services.mozilla.com/D84447
dom/base/Document.cpp
dom/base/Document.h