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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayer.cpp

Issue 2059143002: "up-to-date" should only use hyphens when used as compound modifier of a noun (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 1757 matching lines...) Expand 10 before | Expand all | Expand 10 after
1768 if (!clipRect.intersects(hitTestLocation)) 1768 if (!clipRect.intersects(hitTestLocation))
1769 return nullptr; 1769 return nullptr;
1770 } 1770 }
1771 1771
1772 return hitTestLayerByApplyingTransform(rootLayer, containerLayer, result , hitTestRect, hitTestLocation, transformState, zOffset); 1772 return hitTestLayerByApplyingTransform(rootLayer, containerLayer, result , hitTestRect, hitTestLocation, transformState, zOffset);
1773 } 1773 }
1774 1774
1775 if (hitTestClippedOutByClipPath(rootLayer, hitTestLocation)) 1775 if (hitTestClippedOutByClipPath(rootLayer, hitTestLocation))
1776 return nullptr; 1776 return nullptr;
1777 1777
1778 // Ensure our lists and 3d status are up-to-date. 1778 // Ensure our lists and 3d status are up to date.
1779 m_stackingNode->updateLayerListsIfNeeded(); 1779 m_stackingNode->updateLayerListsIfNeeded();
1780 update3DTransformedDescendantStatus(); 1780 update3DTransformedDescendantStatus();
1781 1781
1782 // The natural thing would be to keep HitTestingTransformState on the stack, but it's big, so we heap-allocate. 1782 // The natural thing would be to keep HitTestingTransformState on the stack, but it's big, so we heap-allocate.
1783 RefPtr<HitTestingTransformState> localTransformState; 1783 RefPtr<HitTestingTransformState> localTransformState;
1784 if (appliedTransform) { 1784 if (appliedTransform) {
1785 // We computed the correct state in the caller (above code), so just ref erence it. 1785 // We computed the correct state in the caller (above code), so just ref erence it.
1786 ASSERT(transformState); 1786 ASSERT(transformState);
1787 localTransformState = const_cast<HitTestingTransformState*>(transformSta te); 1787 localTransformState = const_cast<HitTestingTransformState*>(transformSta te);
1788 } else if (transformState || m_has3DTransformedDescendant || preserves3D()) { 1788 } else if (transformState || m_has3DTransformedDescendant || preserves3D()) {
(...skipping 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after
2925 2925
2926 void showLayerTree(const blink::LayoutObject* layoutObject) 2926 void showLayerTree(const blink::LayoutObject* layoutObject)
2927 { 2927 {
2928 if (!layoutObject) { 2928 if (!layoutObject) {
2929 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); 2929 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n");
2930 return; 2930 return;
2931 } 2931 }
2932 showLayerTree(layoutObject->enclosingLayer()); 2932 showLayerTree(layoutObject->enclosingLayer());
2933 } 2933 }
2934 #endif 2934 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutVTTCue.cpp ('k') | third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698