Bug 788549 Part 3.5: Make nsComputedDOMStyle::MatrixToCSSValue public so we can actually use it r=me
authorDavid Zbarsky <dzbarsky@gmail.com>
Thu, 23 May 2013 16:41:40 +0800
changeset 132748 9bbe372ab8e0202cd1b8d75015ca6e54d2f0f973
parent 132747 bde36c2eacc048fe0cbe17828a20e1e788192650
child 132749 0f1c876023084aaf2ef94aeffbfb4a3a75c7d797
push id28433
push userdzbarsky@gmail.com
push dateThu, 23 May 2013 08:41:49 +0000
treeherdermozilla-inbound@9bbe372ab8e0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs788549
milestone24.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 788549 Part 3.5: Make nsComputedDOMStyle::MatrixToCSSValue public so we can actually use it r=me
layout/style/nsComputedDOMStyle.h
--- a/layout/style/nsComputedDOMStyle.h
+++ b/layout/style/nsComputedDOMStyle.h
@@ -88,16 +88,18 @@ public:
   // nsDOMCSSDeclaration abstract methods which should never be called
   // on a nsComputedDOMStyle object, but must be defined to avoid
   // compile errors.
   virtual mozilla::css::Declaration* GetCSSDeclaration(bool) MOZ_OVERRIDE;
   virtual nsresult SetCSSDeclaration(mozilla::css::Declaration*) MOZ_OVERRIDE;
   virtual nsIDocument* DocToUpdate() MOZ_OVERRIDE;
   virtual void GetCSSParsingEnvironment(CSSParsingEnvironment& aCSSParseEnv) MOZ_OVERRIDE;
 
+  static mozilla::dom::CSSValue* MatrixToCSSValue(gfx3DMatrix& aMatrix);
+
 private:
   void AssertFlushedPendingReflows() {
     NS_ASSERTION(mFlushedPendingReflows,
                  "property getter should have been marked layout-dependent");
   }
 
   nsMargin GetAdjustedValuesForBoxSizing();
 
@@ -432,17 +434,16 @@ private:
   mozilla::dom::CSSValue* DoGetStopColor();
 
   mozilla::dom::CSSValue* DoGetClipPath();
   mozilla::dom::CSSValue* DoGetFilter();
   mozilla::dom::CSSValue* DoGetMask();
   mozilla::dom::CSSValue* DoGetMaskType();
   mozilla::dom::CSSValue* DoGetPaintOrder();
 
-  static mozilla::dom::CSSValue* MatrixToCSSValue(gfx3DMatrix& aMatrix);
   nsDOMCSSValueList* GetROCSSValueList(bool aCommaDelimited);
   void SetToRGBAColor(nsROCSSPrimitiveValue* aValue, nscolor aColor);
   void SetValueToStyleImage(const nsStyleImage& aStyleImage,
                             nsROCSSPrimitiveValue* aValue);
 
   /**
    * A method to get a percentage base for a percentage value.  Returns true
    * if a percentage base value was determined, false otherwise.