Changeset 165491 in webkit


Ignore:
Timestamp:
Mar 12, 2014, 11:52:25 AM (12 years ago)
Author:
Simon Fraser
Message:

Spelling is hard
https://bugs.webkit.org/show_bug.cgi?id=130146

Source/WebCore:

Reviewed by Beth Dakin.

Fix spelling (constained -> constrained).

  • rendering/RenderLayerModelObject.cpp:

(WebCore::RenderLayerModelObject::styleDidChange):

Source/WebKit/ios:

Reviewed by Beth Dakin.

Fix spelling (constained -> constrained).

  • WebCoreSupport/WebFixedPositionContent.mm:

(-[WebFixedPositionContent scrollOrZoomChanged:]):
(-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
(-[WebFixedPositionContent setViewportConstrainedLayers:WTF::WebCore::stickyContainerMap:WTF::]):
(-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
(-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):

Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r165484 r165491  
     12014-03-12  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Spelling is hard
     4        https://bugs.webkit.org/show_bug.cgi?id=130146
     5
     6        Reviewed by Beth Dakin.
     7
     8        Fix spelling (constained -> constrained).
     9
     10        * rendering/RenderLayerModelObject.cpp:
     11        (WebCore::RenderLayerModelObject::styleDidChange):
     12
    1132014-03-12  Simon Fraser  <simon.fraser@apple.com>
    214
  • trunk/Source/WebCore/rendering/RenderLayerModelObject.cpp

    r159027 r165491  
    167167    }
    168168
    169     bool newStyleIsViewportConstained = style().hasViewportConstrainedPosition();
     169    bool newStyleIsViewportConstrained = style().hasViewportConstrainedPosition();
    170170    bool oldStyleIsViewportConstrained = oldStyle && oldStyle->hasViewportConstrainedPosition();
    171     if (newStyleIsViewportConstained != oldStyleIsViewportConstrained) {
    172         if (newStyleIsViewportConstained && layer())
     171    if (newStyleIsViewportConstrained != oldStyleIsViewportConstrained) {
     172        if (newStyleIsViewportConstrained && layer())
    173173            view().frameView().addViewportConstrainedObject(this);
    174174        else
  • trunk/Source/WebKit/ios/ChangeLog

    r164245 r165491  
     12014-03-12  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Spelling is hard
     4        https://bugs.webkit.org/show_bug.cgi?id=130146
     5
     6        Reviewed by Beth Dakin.
     7       
     8        Fix spelling (constained -> constrained).
     9
     10        * WebCoreSupport/WebFixedPositionContent.mm:
     11        (-[WebFixedPositionContent scrollOrZoomChanged:]):
     12        (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
     13        (-[WebFixedPositionContent setViewportConstrainedLayers:WTF::WebCore::stickyContainerMap:WTF::]):
     14        (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
     15        (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
     16
    1172014-02-17  Sergio Correia  <sergio.correia@openbossa.org>
    218
  • trunk/Source/WebKit/ios/WebCoreSupport/WebFixedPositionContent.mm

    r160044 r165491  
    7171   
    7272    WebView *m_webView;
    73     LayerInfoMap m_viewportConstainedLayers;
     73    LayerInfoMap m_viewportConstrainedLayers;
    7474};
    7575
     
    104104    MutexLocker lock(WebFixedPositionContentDataLock());
    105105
    106     LayerInfoMap::const_iterator end = _private->m_viewportConstainedLayers.end();
    107     for (LayerInfoMap::const_iterator it = _private->m_viewportConstainedLayers.begin(); it != end; ++it) {
     106    LayerInfoMap::const_iterator end = _private->m_viewportConstrainedLayers.end();
     107    for (LayerInfoMap::const_iterator it = _private->m_viewportConstrainedLayers.begin(); it != end; ++it) {
    108108        CALayer *layer = it->key.get();
    109109        ViewportConstrainedLayerData* constraintData = it->value.get();
     
    143143    MutexLocker lock(WebFixedPositionContentDataLock());
    144144
    145     LayerInfoMap::const_iterator end = _private->m_viewportConstainedLayers.end();
    146     for (LayerInfoMap::const_iterator it = _private->m_viewportConstainedLayers.begin(); it != end; ++it) {
     145    LayerInfoMap::const_iterator end = _private->m_viewportConstrainedLayers.end();
     146    for (LayerInfoMap::const_iterator it = _private->m_viewportConstrainedLayers.begin(); it != end; ++it) {
    147147        CALayer *layer = it->key.get();
    148148        ViewportConstrainedLayerData* constraintData = it->value.get();
     
    176176    MutexLocker lock(WebFixedPositionContentDataLock());
    177177
    178     _private->m_viewportConstainedLayers.clear();
     178    _private->m_viewportConstrainedLayers.clear();
    179179
    180180    HashMap<CALayer *, OwnPtr<ViewportConstraints> >::iterator end = layerMap.end();
     
    186186        layerData->m_viewportConstraints = it->value.release();
    187187
    188         _private->m_viewportConstainedLayers.set(layer, layerData.release());
     188        _private->m_viewportConstrainedLayers.set(layer, layerData.release());
    189189    }
    190190}
     
    193193{
    194194    MutexLocker lock(WebFixedPositionContentDataLock());
    195     return !_private->m_viewportConstainedLayers.isEmpty();
     195    return !_private->m_viewportConstrainedLayers.isEmpty();
    196196}
    197197
     
    215215    ViewportConstraints::AnchorEdgeFlags anchorEdgeFlags = anchorEdgeFlagsForAnchorEdge(anchorEdge);
    216216    CGFloat minimumOffset = CGFLOAT_MAX;
    217     LayerInfoMap::const_iterator end = _private->m_viewportConstainedLayers.end();
    218     for (LayerInfoMap::const_iterator it = _private->m_viewportConstainedLayers.begin(); it != end; ++it) {
     217    LayerInfoMap::const_iterator end = _private->m_viewportConstrainedLayers.end();
     218    for (LayerInfoMap::const_iterator it = _private->m_viewportConstrainedLayers.begin(); it != end; ++it) {
    219219        CALayer *fixedLayer = it->key.get();
    220220        ViewportConstrainedLayerData* constraintData = it->value.get();
Note: See TracChangeset for help on using the changeset viewer.