Bug 1290214 - Remove NS_ERROR for XBL stylesheet management. r=emilio
authorBobby Holley <bobbyholley@gmail.com>
Thu, 28 Jul 2016 15:00:32 -0700
changeset 347235 0b5991d2f46e35b2d3e7f053e415bb028fcda022
parent 347234 23416e612134e60b89a1c59f564026e61f7c2148
child 347236 9ff91f71e37b106301e3423b3ac99bad492bfd3f
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)
reviewersemilio
bugs1290214
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 1290214 - Remove NS_ERROR for XBL stylesheet management. r=emilio
layout/base/nsCSSFrameConstructor.cpp
--- a/layout/base/nsCSSFrameConstructor.cpp
+++ b/layout/base/nsCSSFrameConstructor.cpp
@@ -2686,17 +2686,17 @@ nsCSSFrameConstructor::ConstructRootFram
 
   // Set up our style rule observer.
   // XXXbz wouldn't this make more sense as part of presshell init?
   if (styleSet->IsGecko()) {
     // XXXheycam We don't support XBL bindings providing style to
     // ServoStyleSets yet.
     styleSet->AsGecko()->SetBindingManager(mDocument->BindingManager());
   } else {
-    NS_ERROR("stylo: cannot get ServoStyleSheets from XBL bindings yet");
+    NS_WARNING("stylo: cannot get ServoStyleSheets from XBL bindings yet. See bug 1290276.");
   }
 
   // --------- BUILD VIEWPORT -----------
   RefPtr<nsStyleContext> viewportPseudoStyle =
     styleSet->ResolveAnonymousBoxStyle(nsCSSAnonBoxes::viewport, nullptr);
   ViewportFrame* viewportFrame =
     NS_NewViewportFrame(mPresShell, viewportPseudoStyle);