Bug 1289620 - Stub out ReparentStyleContext. r=bholley
authorCameron McCormack <cam@mcc.id.au>
Fri, 10 Jun 2016 17:07:17 +1000
changeset 346956 4d9e30d1dac162a8319e6fd3d63ed47a49709705
parent 346955 94789ca41a8d9fd194744ff3454d9ce58361c2fe
child 346957 489e458bd9726e264d635aea49a850d0ff0259f6
push id6389
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:38:22 +0000
treeherdermozilla-beta@01d67bfe6c81 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbholley
bugs1289620
milestone50.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
Bug 1289620 - Stub out ReparentStyleContext. r=bholley
layout/base/ServoRestyleManager.cpp
--- a/layout/base/ServoRestyleManager.cpp
+++ b/layout/base/ServoRestyleManager.cpp
@@ -294,17 +294,18 @@ ServoRestyleManager::AttributeChanged(El
                                       const nsAttrValue* aOldValue)
 {
   NS_ERROR("stylo: ServoRestyleManager::AttributeChanged not implemented");
 }
 
 nsresult
 ServoRestyleManager::ReparentStyleContext(nsIFrame* aFrame)
 {
-  MOZ_CRASH("stylo: ServoRestyleManager::ReparentStyleContext not implemented");
+  NS_ERROR("stylo: ServoRestyleManager::ReparentStyleContext not implemented");
+  return NS_OK;
 }
 
 ServoElementSnapshot*
 ServoRestyleManager::SnapshotForElement(Element* aElement)
 {
   ServoElementSnapshot* snapshot = mModifiedElements.LookupOrAdd(aElement);
   if (!snapshot->HasAny(
         ServoElementSnapshot::Flags::HTMLElementInHTMLDocument)) {