2011-04-03 Luke Macpherson <macpherson@chromium.org>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 Apr 2011 04:13:46 +0000 (04:13 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 Apr 2011 04:13:46 +0000 (04:13 +0000)
        Reviewed by Darin Adler.

        Fix 2-space indentation introduced in bug 54706.
        https://bugs.webkit.org/show_bug.cgi?id=57740

        No new tests - whitespace changes only.

        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::applyProperty):
        Convert 2-space indentation to 4-space indentation.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@82799 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/css/CSSStyleSelector.cpp

index ba8d668..846c25f 100644 (file)
@@ -1,5 +1,18 @@
 2011-04-03  Luke Macpherson   <macpherson@chromium.org>
 
+        Reviewed by Darin Adler.
+
+        Fix 2-space indentation introduced in bug 54706.
+        https://bugs.webkit.org/show_bug.cgi?id=57740
+
+        No new tests - whitespace changes only.
+
+        * css/CSSStyleSelector.cpp:
+        (WebCore::CSSStyleSelector::applyProperty):
+        Convert 2-space indentation to 4-space indentation.
+
+2011-04-03  Luke Macpherson   <macpherson@chromium.org>
+
         Reviewed by Dimitri Glazkov.
 
         Make CSSStyleApplyProperty non-copyable
index 193cc94..2af0335 100644 (file)
@@ -3633,13 +3633,13 @@ void CSSStyleSelector::applyProperty(int id, CSSValue *value)
 
     // check lookup table for implementations and use when available
     if (m_applyProperty.implements(property)) {
-      if (isInherit)
-          m_applyProperty.inherit(property, this);
-      else if (isInitial)
-          m_applyProperty.initial(property, this);
-      else
-          m_applyProperty.value(property, this, value);
-      return;
+        if (isInherit)
+            m_applyProperty.inherit(property, this);
+        else if (isInitial)
+            m_applyProperty.initial(property, this);
+        else
+            m_applyProperty.value(property, this, value);
+        return;
     }
 
     // What follows is a list that maps the CSS properties into their corresponding front-end