Commit 8c2724cb authored by wkorman's avatar wkorman Committed by Commit bot

Fix minor typos in comment and param name.

CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
TBR=vmpstr

Review-Url: https://codereview.chromium.org/2607493004
Cr-Commit-Position: refs/heads/master@{#440826}
parent 5a83553e
...@@ -56,7 +56,7 @@ typedef SyncedProperty<AdditionGroup<gfx::Vector2dF>> SyncedElasticOverscroll; ...@@ -56,7 +56,7 @@ typedef SyncedProperty<AdditionGroup<gfx::Vector2dF>> SyncedElasticOverscroll;
class CC_EXPORT LayerTreeImpl { class CC_EXPORT LayerTreeImpl {
public: public:
// This is the number of times a fixed point has to be hit contiuously by a // This is the number of times a fixed point has to be hit continuously by a
// layer to consider it as jittering. // layer to consider it as jittering.
enum : int { kFixedPointHitsThreshold = 3 }; enum : int { kFixedPointHitsThreshold = 3 };
LayerTreeImpl(LayerTreeHostImpl* layer_tree_host_impl, LayerTreeImpl(LayerTreeHostImpl* layer_tree_host_impl,
......
...@@ -2420,14 +2420,13 @@ LayoutRect PaintLayer::logicalBoundingBox() const { ...@@ -2420,14 +2420,13 @@ LayoutRect PaintLayer::logicalBoundingBox() const {
return rect; return rect;
} }
static inline LayoutRect flippedLogicalBoundingBox( static inline LayoutRect flippedLogicalBoundingBox(LayoutRect boundingBox,
LayoutRect boundingBox, LayoutObject* layoutObject) {
LayoutObject* layoutObjects) {
LayoutRect result = boundingBox; LayoutRect result = boundingBox;
if (layoutObjects->isBox()) if (layoutObject->isBox())
toLayoutBox(layoutObjects)->flipForWritingMode(result); toLayoutBox(layoutObject)->flipForWritingMode(result);
else else
layoutObjects->containingBlock()->flipForWritingMode(result); layoutObject->containingBlock()->flipForWritingMode(result);
return result; return result;
} }
......
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