Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutBox.cpp

Issue 2320793002: Fix typo in method name. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutObject.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com)
5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com)
6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed. 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed.
7 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. 7 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 1531 matching lines...) Expand 10 before | Expand all | Expand 10 after
1542 } 1542 }
1543 } 1543 }
1544 } 1544 }
1545 1545
1546 if (!isDocumentElement() && !backgroundStolenForBeingBody()) { 1546 if (!isDocumentElement() && !backgroundStolenForBeingBody()) {
1547 for (const FillLayer* layer = &styleRef().backgroundLayers(); layer; lay er = layer->next()) { 1547 for (const FillLayer* layer = &styleRef().backgroundLayers(); layer; lay er = layer->next()) {
1548 if (layer->image() && image == layer->image()->data()) { 1548 if (layer->image() && image == layer->image()->data()) {
1549 invalidateBackgroundObscurationStatus(); 1549 invalidateBackgroundObscurationStatus();
1550 bool maybeAnimated = layer->image()->cachedImage() && layer->ima ge()->cachedImage()->getImage() && layer->image()->cachedImage()->getImage()->ma ybeAnimated(); 1550 bool maybeAnimated = layer->image()->cachedImage() && layer->ima ge()->cachedImage()->getImage() && layer->image()->cachedImage()->getImage()->ma ybeAnimated();
1551 if (maybeAnimated) 1551 if (maybeAnimated)
1552 setMayNeedPaintInvalidationAnimatgedBackgroundImage(); 1552 setMayNeedPaintInvalidationAnimatedBackgroundImage();
1553 else 1553 else
1554 setShouldDoFullPaintInvalidation(); 1554 setShouldDoFullPaintInvalidation();
1555 break; 1555 break;
1556 } 1556 }
1557 } 1557 }
1558 } 1558 }
1559 1559
1560 ShapeValue* shapeOutsideValue = style()->shapeOutside(); 1560 ShapeValue* shapeOutsideValue = style()->shapeOutside();
1561 if (!frameView()->isInPerformLayout() && isFloating() && shapeOutsideValue & & shapeOutsideValue->image() && shapeOutsideValue->image()->data() == image) { 1561 if (!frameView()->isInPerformLayout() && isFloating() && shapeOutsideValue & & shapeOutsideValue->image() && shapeOutsideValue->image()->data() == image) {
1562 ShapeOutsideInfo& info = ShapeOutsideInfo::ensureInfo(*this); 1562 ShapeOutsideInfo& info = ShapeOutsideInfo::ensureInfo(*this);
(...skipping 3280 matching lines...) Expand 10 before | Expand all | Expand 10 after
4843 m_rareData->m_snapAreas->remove(&snapArea); 4843 m_rareData->m_snapAreas->remove(&snapArea);
4844 } 4844 }
4845 } 4845 }
4846 4846
4847 SnapAreaSet* LayoutBox::snapAreas() const 4847 SnapAreaSet* LayoutBox::snapAreas() const
4848 { 4848 {
4849 return m_rareData ? m_rareData->m_snapAreas.get() : nullptr; 4849 return m_rareData ? m_rareData->m_snapAreas.get() : nullptr;
4850 } 4850 }
4851 4851
4852 } // namespace blink 4852 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698