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

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

Issue 1444173002: third_party/WebKit: fix typos found in comments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 2262 matching lines...) Expand 10 before | Expand all | Expand 10 after
2273 2273
2274 m_compositedLayerMapping = adoptPtr(new CompositedLayerMapping(*this)); 2274 m_compositedLayerMapping = adoptPtr(new CompositedLayerMapping(*this));
2275 m_compositedLayerMapping->setNeedsGraphicsLayerUpdate(GraphicsLayerUpdateSub tree); 2275 m_compositedLayerMapping->setNeedsGraphicsLayerUpdate(GraphicsLayerUpdateSub tree);
2276 2276
2277 updateOrRemoveFilterEffectBuilder(); 2277 updateOrRemoveFilterEffectBuilder();
2278 } 2278 }
2279 2279
2280 void PaintLayer::clearCompositedLayerMapping(bool layerBeingDestroyed) 2280 void PaintLayer::clearCompositedLayerMapping(bool layerBeingDestroyed)
2281 { 2281 {
2282 if (!layerBeingDestroyed) { 2282 if (!layerBeingDestroyed) {
2283 // We need to make sure our decendants get a geometry update. In princip le, 2283 // We need to make sure our descendants get a geometry update. In princi ple,
2284 // we could call setNeedsGraphicsLayerUpdate on our children, but that w ould 2284 // we could call setNeedsGraphicsLayerUpdate on our children, but that w ould
2285 // require walking the z-order lists to find them. Instead, we over-inva lidate 2285 // require walking the z-order lists to find them. Instead, we over-inva lidate
2286 // by marking our parent as needing a geometry update. 2286 // by marking our parent as needing a geometry update.
2287 if (PaintLayer* compositingParent = enclosingLayerWithCompositedLayerMap ping(ExcludeSelf)) 2287 if (PaintLayer* compositingParent = enclosingLayerWithCompositedLayerMap ping(ExcludeSelf))
2288 compositingParent->compositedLayerMapping()->setNeedsGraphicsLayerUp date(GraphicsLayerUpdateSubtree); 2288 compositingParent->compositedLayerMapping()->setNeedsGraphicsLayerUp date(GraphicsLayerUpdateSubtree);
2289 } 2289 }
2290 2290
2291 m_compositedLayerMapping.clear(); 2291 m_compositedLayerMapping.clear();
2292 2292
2293 if (!layerBeingDestroyed) 2293 if (!layerBeingDestroyed)
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
2738 2738
2739 void showLayerTree(const blink::LayoutObject* layoutObject) 2739 void showLayerTree(const blink::LayoutObject* layoutObject)
2740 { 2740 {
2741 if (!layoutObject) { 2741 if (!layoutObject) {
2742 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); 2742 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n");
2743 return; 2743 return;
2744 } 2744 }
2745 showLayerTree(layoutObject->enclosingLayer()); 2745 showLayerTree(layoutObject->enclosingLayer());
2746 } 2746 }
2747 #endif 2747 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698