[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

commit-queue at webkit.org commit-queue at webkit.org
Wed Dec 22 16:35:40 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit ae6bcf8d5c9d5abcaaf0678d5590639159fbd5a4
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Nov 26 18:01:08 2010 +0000

    2010-11-26  François Sausset  <sausset at gmail.com>
    
            Reviewed by Daniel Bates.
    
            MathML: code cleaning needed in MathMLInlineContainerElement.cpp
            https://bugs.webkit.org/show_bug.cgi?id=50069
    
            Unnecessary namespace was removed and style was adjusted.
    
            * mathml/MathMLInlineContainerElement.cpp:
            (WebCore::MathMLInlineContainerElement::createRenderer):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72773 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index be799ce..fc4dbf6 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,15 @@
+2010-11-26  François Sausset  <sausset at gmail.com>
+
+        Reviewed by Daniel Bates.
+
+        MathML: code cleaning needed in MathMLInlineContainerElement.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=50069
+
+        Unnecessary namespace was removed and style was adjusted.
+
+        * mathml/MathMLInlineContainerElement.cpp:
+        (WebCore::MathMLInlineContainerElement::createRenderer):
+
 2010-11-26  Andrei Popescu  <andreip at google.com>
 
         Reviewed by Jeremy Orlow.
diff --git a/WebCore/mathml/MathMLInlineContainerElement.cpp b/WebCore/mathml/MathMLInlineContainerElement.cpp
index 8b3f43e..eb579d2 100644
--- a/WebCore/mathml/MathMLInlineContainerElement.cpp
+++ b/WebCore/mathml/MathMLInlineContainerElement.cpp
@@ -56,30 +56,30 @@ PassRefPtr<MathMLInlineContainerElement> MathMLInlineContainerElement::create(co
 
 RenderObject* MathMLInlineContainerElement::createRenderer(RenderArena* arena, RenderStyle*)
 {
-    if (hasLocalName(MathMLNames::mrowTag))
+    if (hasLocalName(mrowTag))
         return new (arena) RenderMathMLRow(this);
-    else if (hasLocalName(MathMLNames::msubTag))
+    if (hasLocalName(msubTag))
         return new (arena) RenderMathMLSubSup(this);
-    else if (hasLocalName(MathMLNames::msupTag))
+    if (hasLocalName(msupTag))
         return new (arena) RenderMathMLSubSup(this);
-    else if (hasLocalName(MathMLNames::msubsupTag))
+    if (hasLocalName(msubsupTag))
         return new (arena) RenderMathMLSubSup(this);
-    else if (hasLocalName(MathMLNames::moverTag))
+    if (hasLocalName(moverTag))
         return new (arena) RenderMathMLUnderOver(this);
-    else if (hasLocalName(MathMLNames::munderTag))
+    if (hasLocalName(munderTag))
         return new (arena) RenderMathMLUnderOver(this);
-    else if (hasLocalName(MathMLNames::munderoverTag))
+    if (hasLocalName(munderoverTag))
         return new (arena) RenderMathMLUnderOver(this);
-    else if (hasLocalName(MathMLNames::mfracTag))
+    if (hasLocalName(mfracTag))
         return new (arena) RenderMathMLFraction(this);
-    else if (hasLocalName(MathMLNames::msqrtTag))
+    if (hasLocalName(msqrtTag))
         return new (arena) RenderMathMLSquareRoot(this);
-    else if (hasLocalName(MathMLNames::mrootTag))
+    if (hasLocalName(mrootTag))
         return new (arena) RenderMathMLRoot(this);
-    else if (hasLocalName(MathMLNames::mfencedTag))
+    if (hasLocalName(mfencedTag))
         return new (arena) RenderMathMLFenced(this);
-    else
-        return new (arena) RenderMathMLBlock(this);
+
+    return new (arena) RenderMathMLBlock(this);
 }
 
 }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list