author | Ms2ger <ms2ger@gmail.com> |
Thu, 09 Aug 2012 09:20:11 +0200 | |
changeset 101941 | 144b21a87da45f1447c4556efccbfef8baa3bf72 |
parent 101940 | b0b9d41f016a77944e9c218e1ac356c2aab7dd69 |
child 101942 | 8759d59636f089b1ce1c12a45867513a24fd76b1 |
push id | 13237 |
push user | emorley@mozilla.com |
push date | Thu, 09 Aug 2012 11:51:38 +0000 |
treeherder | mozilla-inbound@f799dd180292 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | ehsan |
bugs | 780502 |
milestone | 17.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/editor/libeditor/html/nsHTMLCSSUtils.cpp +++ b/editor/libeditor/html/nsHTMLCSSUtils.cpp @@ -637,17 +637,16 @@ nsHTMLCSSUtils::GetComputedStyle(nsIDOME } already_AddRefed<nsComputedDOMStyle> nsHTMLCSSUtils::GetComputedStyle(dom::Element* aElement) { MOZ_ASSERT(aElement); nsIDocument* doc = aElement->GetCurrentDoc(); - NS_ASSERTION(doc, "Trying to compute style of detached element"); NS_ENSURE_TRUE(doc, nullptr); nsIPresShell* presShell = doc->GetShell(); NS_ASSERTION(presShell, "Trying to compute style without PresShell"); NS_ENSURE_TRUE(presShell, nullptr); nsRefPtr<nsComputedDOMStyle> style = NS_NewComputedDOMStyle(aElement, EmptyString(), presShell);