Fix a typo noticed by Darin.
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Jul 2014 01:10:22 +0000 (01:10 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Jul 2014 01:10:22 +0000 (01:10 +0000)
* rendering/RenderBox.cpp:
(WebCore::shouldApplyContainersClipAndOffset):
(WebCore::RenderBox::computeRectForRepaint):
(WebCore::shouldAppyContainersClipAndOffset): Deleted.

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

Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBox.cpp

index c248618..5348f48 100644 (file)
@@ -1,5 +1,14 @@
 2014-07-16  Simon Fraser  <simon.fraser@apple.com>
 
+        Fix a typo noticed by Darin.
+        
+        * rendering/RenderBox.cpp:
+        (WebCore::shouldApplyContainersClipAndOffset):
+        (WebCore::RenderBox::computeRectForRepaint):
+        (WebCore::shouldAppyContainersClipAndOffset): Deleted.
+
+2014-07-16  Simon Fraser  <simon.fraser@apple.com>
+
         Improve showTree() logging
         https://bugs.webkit.org/show_bug.cgi?id=134997
 
index 2efcf4c..58ad4cd 100644 (file)
@@ -2110,7 +2110,7 @@ LayoutRect RenderBox::clippedOverflowRectForRepaint(const RenderLayerModelObject
     return r;
 }
 
-static inline bool shouldAppyContainersClipAndOffset(const RenderLayerModelObject* repaintContainer, RenderBox* containerBox)
+static inline bool shouldApplyContainersClipAndOffset(const RenderLayerModelObject* repaintContainer, RenderBox* containerBox)
 {
 #if PLATFORM(IOS)
     if (!repaintContainer || repaintContainer != containerBox)
@@ -2214,7 +2214,7 @@ void RenderBox::computeRectForRepaint(const RenderLayerModelObject* repaintConta
     rect.setLocation(topLeft);
     if (o->hasOverflowClip()) {
         RenderBox* containerBox = toRenderBox(o);
-        if (shouldAppyContainersClipAndOffset(repaintContainer, containerBox)) {
+        if (shouldApplyContainersClipAndOffset(repaintContainer, containerBox)) {
             containerBox->applyCachedClipAndScrollOffsetForRepaint(rect);
             if (rect.isEmpty())
                 return;