Typo: FixedPositionConstaint -> FixedPositionConstraint

https://bugs.webkit.org/show_bug.cgi?id=125171

Patch by Ralph Thomas <ralpht@gmail.com> on 2013-12-03
Reviewed by Simon Fraser.

Source/WebCore:

No new tests, no change in behavior.

* page/scrolling/ScrollingConstraints.h:
* page/scrolling/coordinatedgraphics/ScrollingCoordinatorCoordinatedGraphics.cpp:
(WebCore::ScrollingCoordinatorCoordinatedGraphics::updateViewportConstrainedNode):
* page/scrolling/mac/ScrollingCoordinatorMac.mm:
(WebCore::ScrollingCoordinatorMac::updateViewportConstrainedNode):

Source/WebKit/ios:

* WebCoreSupport/WebFixedPositionContent.mm:
(-[WebFixedPositionContent scrollOrZoomChanged:]):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160044 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 032b1123
2013-12-03 Ralph Thomas <ralpht@gmail.com>
Typo: FixedPositionConstaint -> FixedPositionConstraint
https://bugs.webkit.org/show_bug.cgi?id=125171
Reviewed by Simon Fraser.
No new tests, no change in behavior.
* page/scrolling/ScrollingConstraints.h:
* page/scrolling/coordinatedgraphics/ScrollingCoordinatorCoordinatedGraphics.cpp:
(WebCore::ScrollingCoordinatorCoordinatedGraphics::updateViewportConstrainedNode):
* page/scrolling/mac/ScrollingCoordinatorMac.mm:
(WebCore::ScrollingCoordinatorMac::updateViewportConstrainedNode):
2013-12-03 Samuel White <samuel_white@apple.com>
AXPress event coordinates are always sent as (0, 0)
......@@ -35,7 +35,7 @@ namespace WebCore {
class ViewportConstraints {
public:
enum ConstraintType {
FixedPositionConstaint,
FixedPositionConstraint,
StickyPositionConstraint
};
......@@ -104,7 +104,7 @@ public:
bool operator!=(const FixedPositionViewportConstraints& other) const { return !(*this == other); }
private:
virtual ConstraintType constraintType() const OVERRIDE { return FixedPositionConstaint; };
virtual ConstraintType constraintType() const OVERRIDE { return FixedPositionConstraint; };
FloatRect m_viewportRectAtLastLayout;
FloatPoint m_layerPositionAtLastLayout;
......
......@@ -81,7 +81,7 @@ void ScrollingCoordinatorCoordinatedGraphics::updateViewportConstrainedNode(Scro
return;
switch (constraints.constraintType()) {
case ViewportConstraints::FixedPositionConstaint: {
case ViewportConstraints::FixedPositionConstraint: {
toCoordinatedGraphicsLayer(graphicsLayer)->setFixedToViewport(true); // FIXME : Use constraints!
ScrollingStateFixedNode* fixedNode = toScrollingStateFixedNode(node);
fixedNode->setScrollLayer(graphicsLayer);
......
......@@ -396,7 +396,7 @@ void ScrollingCoordinatorMac::updateViewportConstrainedNode(ScrollingNodeID node
return;
switch (constraints.constraintType()) {
case ViewportConstraints::FixedPositionConstaint: {
case ViewportConstraints::FixedPositionConstraint: {
ScrollingStateFixedNode* fixedNode = toScrollingStateFixedNode(node);
setScrollLayerForNode(graphicsLayer, fixedNode);
fixedNode->updateConstraints((const FixedPositionViewportConstraints&)constraints);
......
2013-12-03 Ralph Thomas <ralpht@gmail.com>
Typo: FixedPositionConstaint -> FixedPositionConstraint
https://bugs.webkit.org/show_bug.cgi?id=125171
Reviewed by Simon Fraser.
* WebCoreSupport/WebFixedPositionContent.mm:
(-[WebFixedPositionContent scrollOrZoomChanged:]):
2013-11-18 Commit Queue <commit-queue@webkit.org>
Unreviewed, rolling out r159455.
......
......@@ -110,7 +110,7 @@ WebFixedPositionContentData::~WebFixedPositionContentData()
const ViewportConstraints& constraints = *(constraintData->m_viewportConstraints.get());
switch (constraints.constraintType()) {
case ViewportConstraints::FixedPositionConstaint: {
case ViewportConstraints::FixedPositionConstraint: {
const FixedPositionViewportConstraints& fixedConstraints = static_cast<const FixedPositionViewportConstraints&>(constraints);
FloatPoint layerPosition = fixedConstraints.layerPositionForViewportRect(positionedObjectsRect);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment